Skip to content

Commit a1af5e6

Browse files
committed
Update usage of IInstructionWithData
1 parent 2622727 commit a1af5e6

File tree

16 files changed

+84
-132
lines changed

16 files changed

+84
-132
lines changed

packages/dynamic-codecs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@codama/errors": "workspace:*",
5454
"@codama/nodes": "workspace:*",
5555
"@codama/visitors-core": "workspace:*",
56-
"@solana/codecs": "2.0.0"
56+
"@solana/codecs": "2.1.0-canary-20241128134801"
5757
},
5858
"license": "MIT",
5959
"repository": {

packages/dynamic-parsers/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@
5454
"@codama/errors": "workspace:*",
5555
"@codama/nodes": "workspace:*",
5656
"@codama/visitors-core": "workspace:*",
57-
"@solana/instructions": "2.0.0"
57+
"@solana/instructions": "2.1.0-canary-20241128134801"
5858
},
5959
"devDependencies": {
60-
"@solana/codecs": "2.0.0"
60+
"@solana/codecs": "2.1.0-canary-20241128134801"
6161
},
6262
"license": "MIT",
6363
"repository": {

packages/dynamic-parsers/src/parsers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function parseInstruction(
4949
root: RootNode,
5050
instruction: IInstruction &
5151
IInstructionWithAccounts<readonly (IAccountLookupMeta | IAccountMeta)[]> &
52-
IInstructionWithData<Uint8Array>,
52+
IInstructionWithData<ReadonlyUint8Array>,
5353
): ParsedInstruction | undefined {
5454
const parsedData = parseInstructionData(root, instruction.data);
5555
if (!parsedData) return undefined;

packages/renderers-js-umi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@codama/renderers-core": "workspace:*",
4949
"@codama/validators": "workspace:*",
5050
"@codama/visitors-core": "workspace:*",
51-
"@solana/codecs-strings": "rc",
51+
"@solana/codecs-strings": "2.1.0-canary-20241128134801",
5252
"nunjucks": "^3.2.4",
5353
"prettier": "^3.4.1"
5454
},

packages/renderers-js/e2e/anchor/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
},
1717
"license": "MIT",
1818
"peerDependencies": {
19-
"@solana/web3.js": "2.0.0-rc.0"
19+
"@solana/web3.js": "2.1.0-canary-20241128134801"
2020
},
2121
"devDependencies": {
2222
"@ava/typescript": "^4.1.0",
2323
"@solana/eslint-config-solana": "^3.0.0",
24-
"@solana/web3.js": "rc",
25-
"@solana/webcrypto-ed25519-polyfill": "rc",
24+
"@solana/web3.js": "2.1.0-canary-20241128134801",
25+
"@solana/webcrypto-ed25519-polyfill": "2.1.0-canary-20241128134801",
2626
"@typescript-eslint/eslint-plugin": "^7.3.1",
2727
"@typescript-eslint/parser": "^7.3.1",
2828
"ava": "^6.1.2",

packages/renderers-js/e2e/dummy/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
},
1717
"license": "MIT",
1818
"peerDependencies": {
19-
"@solana/web3.js": "2.0.0-rc.0"
19+
"@solana/web3.js": "2.1.0-canary-20241128134801"
2020
},
2121
"devDependencies": {
2222
"@ava/typescript": "^4.1.0",
2323
"@solana/eslint-config-solana": "^3.0.0",
24-
"@solana/web3.js": "rc",
25-
"@solana/webcrypto-ed25519-polyfill": "rc",
24+
"@solana/web3.js": "2.1.0-canary-20241128134801",
25+
"@solana/webcrypto-ed25519-polyfill": "2.1.0-canary-20241128134801",
2626
"@typescript-eslint/eslint-plugin": "^7.3.1",
2727
"@typescript-eslint/parser": "^7.3.1",
2828
"ava": "^6.1.2",

packages/renderers-js/e2e/memo/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
},
1717
"license": "MIT",
1818
"peerDependencies": {
19-
"@solana/web3.js": "2.0.0-rc.0"
19+
"@solana/web3.js": "2.1.0-canary-20241128134801"
2020
},
2121
"devDependencies": {
2222
"@ava/typescript": "^4.1.0",
2323
"@solana/eslint-config-solana": "^3.0.0",
24-
"@solana/web3.js": "rc",
25-
"@solana/webcrypto-ed25519-polyfill": "rc",
24+
"@solana/web3.js": "2.1.0-canary-20241128134801",
25+
"@solana/webcrypto-ed25519-polyfill": "2.1.0-canary-20241128134801",
2626
"@typescript-eslint/eslint-plugin": "^7.3.1",
2727
"@typescript-eslint/parser": "^7.3.1",
2828
"ava": "^6.1.2",

packages/renderers-js/e2e/system/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
},
1717
"license": "MIT",
1818
"peerDependencies": {
19-
"@solana/web3.js": "2.0.0-rc.0"
19+
"@solana/web3.js": "2.1.0-canary-20241128134801"
2020
},
2121
"devDependencies": {
2222
"@ava/typescript": "^4.1.0",
2323
"@solana/eslint-config-solana": "^3.0.0",
24-
"@solana/web3.js": "rc",
25-
"@solana/webcrypto-ed25519-polyfill": "rc",
24+
"@solana/web3.js": "2.1.0-canary-20241128134801",
25+
"@solana/webcrypto-ed25519-polyfill": "2.1.0-canary-20241128134801",
2626
"@typescript-eslint/eslint-plugin": "^7.3.1",
2727
"@typescript-eslint/parser": "^7.3.1",
2828
"ava": "^6.1.2",

packages/renderers-js/e2e/token/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
},
1717
"license": "MIT",
1818
"peerDependencies": {
19-
"@solana/web3.js": "2.0.0-rc.0"
19+
"@solana/web3.js": "2.1.0-canary-20241128134801"
2020
},
2121
"devDependencies": {
2222
"@ava/typescript": "^4.1.0",
2323
"@solana/eslint-config-solana": "^3.0.0",
24-
"@solana/web3.js": "rc",
25-
"@solana/webcrypto-ed25519-polyfill": "rc",
24+
"@solana/web3.js": "2.1.0-canary-20241128134801",
25+
"@solana/webcrypto-ed25519-polyfill": "2.1.0-canary-20241128134801",
2626
"@typescript-eslint/eslint-plugin": "^7.3.1",
2727
"@typescript-eslint/parser": "^7.3.1",
2828
"ava": "^6.1.2",

packages/renderers-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@codama/nodes-from-anchor": "workspace:*",
4949
"@codama/renderers-core": "workspace:*",
5050
"@codama/visitors-core": "workspace:*",
51-
"@solana/codecs-strings": "rc",
51+
"@solana/codecs-strings": "2.1.0-canary-20241128134801",
5252
"nunjucks": "^3.2.4",
5353
"prettier": "^3.4.1"
5454
},

0 commit comments

Comments
 (0)