@solana/transactions 2.0.0-experimental.278784a → 2.0.0-experimental.2938d71

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.
Files changed (52) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +314 -5
  3. package/dist/index.browser.cjs +198 -244
  4. package/dist/index.browser.cjs.map +1 -1
  5. package/dist/index.browser.js +199 -247
  6. package/dist/index.browser.js.map +1 -1
  7. package/dist/index.development.js +743 -748
  8. package/dist/index.development.js.map +1 -1
  9. package/dist/index.native.js +199 -247
  10. package/dist/index.native.js.map +1 -1
  11. package/dist/index.node.cjs +198 -244
  12. package/dist/index.node.cjs.map +1 -1
  13. package/dist/index.node.js +199 -247
  14. package/dist/index.node.js.map +1 -1
  15. package/dist/index.production.min.js +17 -15
  16. package/dist/types/accounts.d.ts.map +1 -0
  17. package/dist/types/blockhash.d.ts.map +1 -0
  18. package/dist/types/compile-address-table-lookups.d.ts.map +1 -0
  19. package/dist/types/compile-header.d.ts.map +1 -0
  20. package/dist/types/compile-instructions.d.ts.map +1 -0
  21. package/dist/types/compile-lifetime-token.d.ts.map +1 -0
  22. package/dist/types/compile-static-accounts.d.ts.map +1 -0
  23. package/dist/types/compile-transaction.d.ts.map +1 -0
  24. package/dist/types/create-transaction.d.ts.map +1 -0
  25. package/dist/types/durable-nonce.d.ts +1 -0
  26. package/dist/types/durable-nonce.d.ts.map +1 -0
  27. package/dist/types/fee-payer.d.ts.map +1 -0
  28. package/dist/types/index.d.ts +1 -0
  29. package/dist/types/index.d.ts.map +1 -0
  30. package/dist/types/instructions.d.ts.map +1 -0
  31. package/dist/types/message.d.ts.map +1 -0
  32. package/dist/types/serializers/address-table-lookup.d.ts +5 -3
  33. package/dist/types/serializers/address-table-lookup.d.ts.map +1 -0
  34. package/dist/types/serializers/header.d.ts +4 -2
  35. package/dist/types/serializers/header.d.ts.map +1 -0
  36. package/dist/types/serializers/index.d.ts +2 -0
  37. package/dist/types/serializers/index.d.ts.map +1 -0
  38. package/dist/types/serializers/instruction.d.ts +4 -2
  39. package/dist/types/serializers/instruction.d.ts.map +1 -0
  40. package/dist/types/serializers/message.d.ts +4 -4
  41. package/dist/types/serializers/message.d.ts.map +1 -0
  42. package/dist/types/serializers/transaction-version.d.ts +4 -4
  43. package/dist/types/serializers/transaction-version.d.ts.map +1 -0
  44. package/dist/types/serializers/transaction.d.ts +5 -4
  45. package/dist/types/serializers/transaction.d.ts.map +1 -0
  46. package/dist/types/signatures.d.ts.map +1 -0
  47. package/dist/types/types.d.ts.map +1 -0
  48. package/dist/types/unsigned-transaction.d.ts.map +1 -0
  49. package/dist/types/wire-transaction.d.ts +1 -1
  50. package/dist/types/wire-transaction.d.ts.map +1 -0
  51. package/package.json +12 -8
  52. package/dist/types/serializers/unimplemented.d.ts +0 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instructions.d.ts","sourceRoot":"","sources":["../../src/instructions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1C,wBAAgB,4BAA4B,CAAC,YAAY,SAAS,eAAe,EAC7E,WAAW,EAAE,YAAY,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,EACjD,WAAW,EAAE,YAAY,GAAG,CAAC,YAAY,GAAG,0BAA0B,CAAC,GACxE,YAAY,GAAG,IAAI,CAAC,YAAY,EAAE,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qBAAqB,GAAG,wBAAwB,CAAC;AAE/E,KAAK,qBAAqB,GAAG,mBAAmB,GAC5C,QAAQ,CAAC;IACL,OAAO,EAAE,QAAQ,CAAC;CACrB,CAAC,CAAC;AAEP,KAAK,wBAAwB,GAAG,mBAAmB,GAC/C,QAAQ,CAAC;IACL,mBAAmB,CAAC,EAAE,UAAU,CAAC,OAAO,8BAA8B,CAAC,CAAC;IACxE,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEP,wBAAgB,cAAc,CAC1B,WAAW,EAAE,qBAAqB,GAAG,QAAQ,CAAC;IAAE,OAAO,EAAE,QAAQ,CAAA;CAAE,CAAC,GACrE,qBAAqB,CAAC;AACzB,wBAAgB,cAAc,CAAC,WAAW,EAAE,qBAAqB,GAAG,wBAAwB,CAAC"}
@@ -1,6 +1,8 @@
1
- import { Serializer } from '@metaplex-foundation/umi-serializers';
2
- import { getCompiledAddressTableLookups } from '../compile-address-table-lookups';
1
+ import { type Codec, type Decoder, type Encoder } from '@solana/codecs-core';
2
+ import type { getCompiledAddressTableLookups } from '../compile-address-table-lookups';
3
3
  type AddressTableLookup = ReturnType<typeof getCompiledAddressTableLookups>[number];
4
- export declare function getAddressTableLookupCodec(): Serializer<AddressTableLookup>;
4
+ export declare function getAddressTableLookupEncoder(): Encoder<AddressTableLookup>;
5
+ export declare function getAddressTableLookupDecoder(): Decoder<AddressTableLookup>;
6
+ export declare function getAddressTableLookupCodec(): Codec<AddressTableLookup>;
5
7
  export {};
6
8
  //# sourceMappingURL=address-table-lookup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"address-table-lookup.d.ts","sourceRoot":"","sources":["../../../src/serializers/address-table-lookup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,KAAK,EAAgB,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAI3F,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAEvF,KAAK,kBAAkB,GAAG,UAAU,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,CAAC,CAAC;AAoBpF,wBAAgB,4BAA4B,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAyB1E;AAGD,wBAAgB,4BAA4B,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAyB1E;AAED,wBAAgB,0BAA0B,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAEtE"}
@@ -1,6 +1,8 @@
1
- import { Serializer } from '@metaplex-foundation/umi-serializers';
1
+ import { Codec, Decoder, Encoder } from '@solana/codecs-core';
2
2
  import { getCompiledMessageHeader } from '../compile-header';
3
3
  type MessageHeader = ReturnType<typeof getCompiledMessageHeader>;
4
- export declare function getMessageHeaderCodec(): Serializer<MessageHeader>;
4
+ export declare function getMessageHeaderEncoder(): Encoder<MessageHeader>;
5
+ export declare function getMessageHeaderDecoder(): Decoder<MessageHeader>;
6
+ export declare function getMessageHeaderCodec(): Codec<MessageHeader>;
5
7
  export {};
6
8
  //# sourceMappingURL=header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../src/serializers/header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAI9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;AA4DjE,wBAAgB,uBAAuB,IAAI,OAAO,CAAC,aAAa,CAAC,CAWhE;AAED,wBAAgB,uBAAuB,IAAI,OAAO,CAAC,aAAa,CAAC,CAWhE;AAED,wBAAgB,qBAAqB,IAAI,KAAK,CAAC,aAAa,CAAC,CAW5D"}
@@ -0,0 +1,2 @@
1
+ export * from './transaction';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/serializers/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,6 +1,8 @@
1
- import { Serializer } from '@metaplex-foundation/umi-serializers';
1
+ import { Codec, Decoder, Encoder } from '@solana/codecs-core';
2
2
  import { getCompiledInstructions } from '../compile-instructions';
3
3
  type Instruction = ReturnType<typeof getCompiledInstructions>[number];
4
- export declare function getInstructionCodec(): Serializer<Instruction>;
4
+ export declare function getInstructionEncoder(): Encoder<Instruction>;
5
+ export declare function getInstructionDecoder(): Decoder<Instruction>;
6
+ export declare function getInstructionCodec(): Codec<Instruction>;
5
7
  export {};
6
8
  //# sourceMappingURL=instruction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.d.ts","sourceRoot":"","sources":["../../../src/serializers/instruction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAgB,OAAO,EAAE,OAAO,EAA0B,MAAM,qBAAqB,CAAC;AAWpG,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAElE,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAmBtE,wBAAgB,qBAAqB,IAAI,OAAO,CAAC,WAAW,CAAC,CA6B5D;AAGD,wBAAgB,qBAAqB,IAAI,OAAO,CAAC,WAAW,CAAC,CA6B5D;AAED,wBAAgB,mBAAmB,IAAI,KAAK,CAAC,WAAW,CAAC,CAExD"}
@@ -1,6 +1,6 @@
1
- import { Serializer } from '@metaplex-foundation/umi-serializers';
1
+ import { Codec, Decoder, Encoder } from '@solana/codecs-core';
2
2
  import { CompiledMessage } from '../message';
3
- export declare function getCompiledMessageEncoder(): Serializer<CompiledMessage>;
4
- export declare function getCompiledMessageDecoder(): Serializer<CompiledMessage>;
5
- export declare function getCompiledMessageCodec(): Serializer<CompiledMessage>;
3
+ export declare function getCompiledMessageEncoder(): Encoder<CompiledMessage>;
4
+ export declare function getCompiledMessageDecoder(): Decoder<CompiledMessage>;
5
+ export declare function getCompiledMessageCodec(): Codec<CompiledMessage>;
6
6
  //# sourceMappingURL=message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/serializers/message.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAgB,OAAO,EAAE,OAAO,EAA0B,MAAM,qBAAqB,CAAC;AAapG,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAwH7C,wBAAgB,yBAAyB,IAAI,OAAO,CAAC,eAAe,CAAC,CAapE;AAED,wBAAgB,yBAAyB,IAAI,OAAO,CAAC,eAAe,CAAC,CAepE;AAED,wBAAgB,uBAAuB,IAAI,KAAK,CAAC,eAAe,CAAC,CAEhE"}
@@ -1,6 +1,6 @@
1
- import { Serializer } from '@metaplex-foundation/umi-serializers';
1
+ import { Codec, Decoder, Encoder } from '@solana/codecs-core';
2
2
  import { TransactionVersion } from '../types';
3
- export declare function getTransactionVersionDecoder(): Serializer<TransactionVersion>;
4
- export declare function getTransactionVersionEncoder(): Serializer<TransactionVersion>;
5
- export declare function getTransactionVersionCodec(): Serializer<TransactionVersion>;
3
+ export declare function getTransactionVersionDecoder(): Decoder<TransactionVersion>;
4
+ export declare function getTransactionVersionEncoder(): Encoder<TransactionVersion>;
5
+ export declare function getTransactionVersionCodec(): Codec<TransactionVersion>;
6
6
  //# sourceMappingURL=transaction-version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction-version.d.ts","sourceRoot":"","sources":["../../../src/serializers/transaction-version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAgB,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAgC9C,wBAAgB,4BAA4B,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAK1E;AAED,wBAAgB,4BAA4B,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAK1E;AAED,wBAAgB,0BAA0B,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAEtE"}
@@ -1,6 +1,7 @@
1
- import { Serializer } from '@metaplex-foundation/umi-serializers';
2
- import { getCompiledTransaction } from '../compile-transaction';
3
- type SerializableTransaction = Parameters<typeof getCompiledTransaction>[0];
4
- export declare function getTransactionEncoder(): Serializer<SerializableTransaction>;
1
+ import { Encoder } from '@solana/codecs-core';
2
+ import { ITransactionWithSignatures } from '..';
3
+ import { compileMessage } from '../message';
4
+ type CompilableTransaction = Parameters<typeof compileMessage>[0];
5
+ export declare function getTransactionEncoder(): Encoder<CompilableTransaction | (CompilableTransaction & ITransactionWithSignatures)>;
5
6
  export {};
6
7
  //# sourceMappingURL=transaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../src/serializers/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAc,MAAM,qBAAqB,CAAC;AAI1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,IAAI,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAK5C,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAuBlE,wBAAgB,qBAAqB,IAAI,OAAO,CAC5C,qBAAqB,GAAG,CAAC,qBAAqB,GAAG,0BAA0B,CAAC,CAC/E,CAEA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signatures.d.ts","sourceRoot":"","sources":["../../src/signatures.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAA2B,MAAM,mBAAmB,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAa,MAAM,cAAc,CAAC;AAE3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAmB,cAAc,EAAE,MAAM,WAAW,CAAC;AAG5D,MAAM,WAAW,uBA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OAAO,MAAM,CAAA;CAAE,CAAC;AAE/G,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACnC,YAAY,EAAE,SAAS,YAAY,EAAE,CAAC;IACtC,OAAO,EAAE,kBAAkB,CAAC;CAC/B,CAAC,CAAC;AAEH,KAAK,iBAAiB,GAAG,eAAe,GACpC,QAAQ,CAAC;IACL,YAAY,EAAE,SAAS,CAAC,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC,GAClD,QAAQ,CAAC;QAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,YAAY,EAAE,CAAA;KAAE,CAAC,CAAC,EAAE,CAAC;IACjE,OAAO,EAAE,QAAQ,CAAC;CACrB,CAAC,CAAC;AAEP,KAAK,aAAa,GAAG,eAAe,GAChC,QAAQ,CAAC;IACL,YAAY,EAAE,SAAS,YAAY,EAAE,CAAC;IACtC,OAAO,EAAE,CAAC,CAAC;CACd,CAAC,CAAC;AAEP,MAAM,MAAM,WAAW,GAAG,iBAAiB,GAAG,aAAa,CAAC;AAC5D,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unsigned-transaction.d.ts","sourceRoot":"","sources":["../../src/unsigned-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,wBAAgB,sBAAsB,CAAC,YAAY,SAAS,eAAe,EACvE,WAAW,EAAE,YAAY,GAAG,CAAC,YAAY,GAAG,0BAA0B,CAAC,GACxE,YAAY,GAAG,IAAI,CAAC,YAAY,GAAG,0BAA0B,EAAE,MAAM,0BAA0B,CAAC,CAWlG"}
@@ -2,5 +2,5 @@ import { getTransactionEncoder } from './serializers/transaction';
2
2
  export type Base64EncodedWireTransaction = string & {
3
3
  readonly __brand: unique symbol;
4
4
  };
5
- export declare function getBase64EncodedWireTransaction(transaction: Parameters<ReturnType<typeof getTransactionEncoder>['serialize']>[0]): Base64EncodedWireTransaction;
5
+ export declare function getBase64EncodedWireTransaction(transaction: Parameters<ReturnType<typeof getTransactionEncoder>['encode']>[0]): Base64EncodedWireTransaction;
6
6
  //# sourceMappingURL=wire-transaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wire-transaction.d.ts","sourceRoot":"","sources":["../../src/wire-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,MAAM,MAAM,4BAA4B,GAAG,MAAM,GAAG;IAChD,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAC;CACnC,CAAC;AAEF,wBAAgB,+BAA+B,CAC3C,WAAW,EAAE,UAAU,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAC/E,4BAA4B,CAO9B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/transactions",
3
- "version": "2.0.0-experimental.278784a",
3
+ "version": "2.0.0-experimental.2938d71",
4
4
  "description": "Helpers for creating and serializing transactions",
5
5
  "exports": {
6
6
  "browser": {
@@ -47,13 +47,17 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@metaplex-foundation/umi-serializers": "^0.8.9",
50
- "@solana/addresses": "2.0.0-experimental.278784a",
51
- "@solana/keys": "2.0.0-experimental.278784a"
50
+ "@solana/addresses": "2.0.0-experimental.2938d71",
51
+ "@solana/codecs-data-structures": "2.0.0-experimental.2938d71",
52
+ "@solana/codecs-core": "2.0.0-experimental.2938d71",
53
+ "@solana/codecs-numbers": "2.0.0-experimental.2938d71",
54
+ "@solana/codecs-strings": "2.0.0-experimental.2938d71",
55
+ "@solana/keys": "2.0.0-experimental.2938d71"
52
56
  },
53
57
  "devDependencies": {
54
58
  "@solana/eslint-config-solana": "^1.0.2",
55
- "@swc/jest": "^0.2.28",
56
- "@types/jest": "^29.5.5",
59
+ "@swc/jest": "^0.2.29",
60
+ "@types/jest": "^29.5.6",
57
61
  "@types/node": "^20.6.3",
58
62
  "@typescript-eslint/eslint-plugin": "^6.7.0",
59
63
  "@typescript-eslint/parser": "^6.3.0",
@@ -61,13 +65,13 @@
61
65
  "eslint": "^8.45.0",
62
66
  "eslint-plugin-sort-keys-fix": "^1.1.2",
63
67
  "jest": "^29.7.0",
64
- "jest-runner-eslint": "^2.1.0",
68
+ "jest-runner-eslint": "^2.1.2",
65
69
  "jest-runner-prettier": "^1.0.0",
66
70
  "prettier": "^2.8",
67
71
  "tsup": "7.2.0",
68
72
  "typescript": "^5.2.2",
69
73
  "version-from-git": "^1.1.1",
70
- "@solana/instructions": "2.0.0-experimental.278784a",
74
+ "@solana/instructions": "2.0.0-experimental.2938d71",
71
75
  "build-scripts": "0.0.0",
72
76
  "test-config": "0.0.0",
73
77
  "test-matchers": "0.0.0",
@@ -86,7 +90,7 @@
86
90
  "compile:typedefs": "tsc -p ./tsconfig.declarations.json",
87
91
  "dev": "jest -c node_modules/test-config/jest-dev.config.ts --rootDir . --watch",
88
92
  "publish-packages": "pnpm publish --tag experimental --access public --no-git-checks",
89
- "style:fix": "pnpm eslint --fix src/* && pnpm prettier -w src/*",
93
+ "style:fix": "pnpm eslint --fix src/* && pnpm prettier -w src/* package.json",
90
94
  "test:lint": "jest -c node_modules/test-config/jest-lint.config.ts --rootDir . --silent",
91
95
  "test:prettier": "jest -c node_modules/test-config/jest-prettier.config.ts --rootDir . --silent",
92
96
  "test:treeshakability:browser": "agadoo dist/index.browser.js",
@@ -1,3 +0,0 @@
1
- export declare function getUnimplementedDecoder(name: string): () => never;
2
- export declare function getUnimplementedEncoder(name: string): () => never;
3
- //# sourceMappingURL=unimplemented.d.ts.map