@solana-program/system 0.3.3 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/dist/src/index.js +51 -43
- package/dist/src/index.js.map +1 -1
- package/dist/src/index.mjs +52 -45
- package/dist/src/index.mjs.map +1 -1
- package/dist/types/generated/accounts/index.d.ts +1 -1
- package/dist/types/generated/accounts/nonce.d.ts +3 -3
- package/dist/types/generated/accounts/nonce.d.ts.map +1 -1
- package/dist/types/generated/errors/index.d.ts +1 -1
- package/dist/types/generated/errors/system.d.ts +11 -1
- package/dist/types/generated/errors/system.d.ts.map +1 -1
- package/dist/types/generated/index.d.ts +1 -1
- package/dist/types/generated/instructions/advanceNonceAccount.d.ts +2 -2
- package/dist/types/generated/instructions/advanceNonceAccount.d.ts.map +1 -1
- package/dist/types/generated/instructions/allocate.d.ts +2 -2
- package/dist/types/generated/instructions/allocate.d.ts.map +1 -1
- package/dist/types/generated/instructions/allocateWithSeed.d.ts +2 -2
- package/dist/types/generated/instructions/allocateWithSeed.d.ts.map +1 -1
- package/dist/types/generated/instructions/assign.d.ts +2 -2
- package/dist/types/generated/instructions/assign.d.ts.map +1 -1
- package/dist/types/generated/instructions/assignWithSeed.d.ts +2 -2
- package/dist/types/generated/instructions/assignWithSeed.d.ts.map +1 -1
- package/dist/types/generated/instructions/authorizeNonceAccount.d.ts +2 -2
- package/dist/types/generated/instructions/authorizeNonceAccount.d.ts.map +1 -1
- package/dist/types/generated/instructions/createAccount.d.ts +3 -3
- package/dist/types/generated/instructions/createAccount.d.ts.map +1 -1
- package/dist/types/generated/instructions/createAccountWithSeed.d.ts +2 -2
- package/dist/types/generated/instructions/createAccountWithSeed.d.ts.map +1 -1
- package/dist/types/generated/instructions/index.d.ts +1 -1
- package/dist/types/generated/instructions/initializeNonceAccount.d.ts +2 -2
- package/dist/types/generated/instructions/initializeNonceAccount.d.ts.map +1 -1
- package/dist/types/generated/instructions/transferSol.d.ts +2 -2
- package/dist/types/generated/instructions/transferSol.d.ts.map +1 -1
- package/dist/types/generated/instructions/transferSolWithSeed.d.ts +2 -2
- package/dist/types/generated/instructions/transferSolWithSeed.d.ts.map +1 -1
- package/dist/types/generated/instructions/upgradeNonceAccount.d.ts +2 -2
- package/dist/types/generated/instructions/upgradeNonceAccount.d.ts.map +1 -1
- package/dist/types/generated/instructions/withdrawNonceAccount.d.ts +2 -2
- package/dist/types/generated/instructions/withdrawNonceAccount.d.ts.map +1 -1
- package/dist/types/generated/programs/index.d.ts +1 -1
- package/dist/types/generated/programs/system.d.ts +5 -5
- package/dist/types/generated/programs/system.d.ts.map +1 -1
- package/dist/types/generated/shared/index.d.ts +2 -2
- package/dist/types/generated/shared/index.d.ts.map +1 -1
- package/dist/types/generated/types/index.d.ts +1 -1
- package/dist/types/generated/types/nonceState.d.ts +2 -2
- package/dist/types/generated/types/nonceState.d.ts.map +1 -1
- package/dist/types/generated/types/nonceVersion.d.ts +2 -2
- package/dist/types/generated/types/nonceVersion.d.ts.map +1 -1
- package/package.json +15 -11
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
4
|
* to add features, then rerun kinobi to update it.
|
|
5
5
|
*
|
|
6
|
-
* @see https://github.com/
|
|
6
|
+
* @see https://github.com/kinobi-so/kinobi
|
|
7
7
|
*/
|
|
8
8
|
export * from './nonceState';
|
|
9
9
|
export * from './nonceVersion';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
4
|
* to add features, then rerun kinobi to update it.
|
|
5
5
|
*
|
|
6
|
-
* @see https://github.com/
|
|
6
|
+
* @see https://github.com/kinobi-so/kinobi
|
|
7
7
|
*/
|
|
8
|
-
import { Codec, Decoder, Encoder } from '@solana/web3.js';
|
|
8
|
+
import { type Codec, type Decoder, type Encoder } from '@solana/web3.js';
|
|
9
9
|
export declare enum NonceState {
|
|
10
10
|
Uninitialized = 0,
|
|
11
11
|
Initialized = 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nonceState.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/nonceState.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"nonceState.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/nonceState.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAML,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,iBAAiB,CAAC;AAEzB,oBAAY,UAAU;IACpB,aAAa,IAAA;IACb,WAAW,IAAA;CACZ;AAED,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC;AAExC,wBAAgB,oBAAoB,IAAI,OAAO,CAAC,cAAc,CAAC,CAE9D;AAED,wBAAgB,oBAAoB,IAAI,OAAO,CAAC,UAAU,CAAC,CAE1D;AAED,wBAAgB,kBAAkB,IAAI,KAAK,CAAC,cAAc,EAAE,UAAU,CAAC,CAEtE"}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
4
|
* to add features, then rerun kinobi to update it.
|
|
5
5
|
*
|
|
6
|
-
* @see https://github.com/
|
|
6
|
+
* @see https://github.com/kinobi-so/kinobi
|
|
7
7
|
*/
|
|
8
|
-
import { Codec, Decoder, Encoder } from '@solana/web3.js';
|
|
8
|
+
import { type Codec, type Decoder, type Encoder } from '@solana/web3.js';
|
|
9
9
|
export declare enum NonceVersion {
|
|
10
10
|
Legacy = 0,
|
|
11
11
|
Current = 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nonceVersion.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/nonceVersion.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"nonceVersion.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/nonceVersion.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAML,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,iBAAiB,CAAC;AAEzB,oBAAY,YAAY;IACtB,MAAM,IAAA;IACN,OAAO,IAAA;CACR;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAE5C,wBAAgB,sBAAsB,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAElE;AAED,wBAAgB,sBAAsB,IAAI,OAAO,CAAC,YAAY,CAAC,CAE9D;AAED,wBAAgB,oBAAoB,IAAI,KAAK,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAE5E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana-program/system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "JavaScript client for the System program",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"module": "./dist/src/index.mjs",
|
|
@@ -24,25 +24,29 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@solana/web3.js": "2.0.0-preview.
|
|
27
|
+
"@solana/web3.js": "2.0.0-preview.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@ava/typescript": "^4.1.0",
|
|
31
|
-
"@solana/eslint-config-solana": "^3.0.
|
|
32
|
-
"@solana/web3.js": "
|
|
33
|
-
"@solana/webcrypto-ed25519-polyfill": "
|
|
34
|
-
"@
|
|
35
|
-
"@typescript-eslint/
|
|
36
|
-
"
|
|
31
|
+
"@solana/eslint-config-solana": "^3.0.3",
|
|
32
|
+
"@solana/web3.js": "2.0.0-preview.4",
|
|
33
|
+
"@solana/webcrypto-ed25519-polyfill": "2.0.0-preview.4",
|
|
34
|
+
"@types/node": "^20",
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^7.16.1",
|
|
36
|
+
"@typescript-eslint/parser": "^7.16.1",
|
|
37
|
+
"ava": "^6.1.3",
|
|
37
38
|
"eslint": "^8.57.0",
|
|
38
|
-
"prettier": "^3.
|
|
39
|
+
"prettier": "^3.3.3",
|
|
39
40
|
"rimraf": "^5.0.5",
|
|
40
|
-
"tsup": "^8.
|
|
41
|
+
"tsup": "^8.1.2",
|
|
41
42
|
"typedoc": "^0.25.12",
|
|
42
43
|
"typedoc-plugin-missing-exports": "^2.2.0",
|
|
43
|
-
"typescript": "^5.
|
|
44
|
+
"typescript": "^5.5.3"
|
|
44
45
|
},
|
|
45
46
|
"ava": {
|
|
47
|
+
"nodeArguments": [
|
|
48
|
+
"--no-warnings"
|
|
49
|
+
],
|
|
46
50
|
"require": [
|
|
47
51
|
"@solana/webcrypto-ed25519-polyfill"
|
|
48
52
|
],
|