@layerzerolabs/common-suimove 0.2.51 → 0.2.53

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.
@@ -3,7 +3,7 @@
3
3
  > @layerzerolabs/common-suimove@0.0.0 build /home/runner/work/monorepo-internal/monorepo-internal/packages/vms/common-suimove
4
4
  > tsup
5
5
 
6
- CLI Building entry: src/error.ts, src/index.ts, src/multiSigTransaction.ts, src/provider.ts, src/transaction.ts, src/types.ts, src/utils.ts
6
+ CLI Building entry: src/error.ts, src/index.ts, src/multiSigTransaction.ts, src/provider.ts, src/transaction.ts, src/types.ts, src/utils.ts, src/verification.ts
7
7
  CLI Using tsconfig: tsconfig.json
8
8
  CLI tsup v8.5.1
9
9
  CLI Using tsup config: /home/runner/work/monorepo-internal/monorepo-internal/packages/vms/common-suimove/tsup.config.ts
@@ -11,67 +11,75 @@
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
14
- Generated an empty chunk: "7LWJNWY6".
15
- Generated an empty chunk: "L6EI37IO".
16
- Generated an empty chunk: "PKPG4OQE".
17
14
  Generated an empty chunk: "QRJFMNTB".
18
15
  Generated an empty chunk: "DMFKLZKD".
19
16
  Generated an empty chunk: "Y5EOMP5J".
20
- CJS dist/error.cjs 454.00 B
21
- CJS dist/multiSigTransaction.cjs 778.00 B
22
- CJS dist/index.cjs 2.96 KB
23
- CJS dist/provider.cjs 118.00 B
24
- CJS dist/transaction.cjs 124.00 B
25
- CJS dist/7LWJNWY6.cjs 90.00 B
26
- CJS dist/R55BZY4H.cjs 1.22 KB
27
- CJS dist/L6EI37IO.cjs 90.00 B
28
- CJS dist/types.cjs 112.00 B
29
- CJS dist/ZW4CIJT7.cjs 671.00 B
30
- CJS dist/YJF4D23A.cjs 245.00 B
31
- CJS dist/PKPG4OQE.cjs 90.00 B
32
- CJS dist/BJANQBLL.cjs 10.42 KB
33
- CJS dist/utils.cjs 2.26 KB
34
- CJS dist/error.cjs.map 70.00 B
35
- CJS dist/index.cjs.map 70.00 B
36
- CJS dist/multiSigTransaction.cjs.map 84.00 B
37
- CJS dist/provider.cjs.map 73.00 B
38
- CJS dist/7LWJNWY6.cjs.map 73.00 B
39
- CJS dist/types.cjs.map 70.00 B
40
- CJS dist/R55BZY4H.cjs.map 2.39 KB
41
- CJS dist/L6EI37IO.cjs.map 73.00 B
42
- CJS dist/YJF4D23A.cjs.map 73.00 B
43
- CJS dist/ZW4CIJT7.cjs.map 822.00 B
44
- CJS dist/PKPG4OQE.cjs.map 73.00 B
45
- CJS dist/transaction.cjs.map 76.00 B
46
- CJS dist/utils.cjs.map 70.00 B
47
- CJS dist/BJANQBLL.cjs.map 28.86 KB
48
- CJS ⚡️ Build success in 211ms
17
+ Generated an empty chunk: "L6EI37IO".
18
+ Generated an empty chunk: "7LWJNWY6".
19
+ Generated an empty chunk: "PKPG4OQE".
49
20
  ESM dist/error.js 168.00 B
50
21
  ESM dist/multiSigTransaction.js 293.00 B
51
- ESM dist/index.js 744.00 B
52
22
  ESM dist/provider.js 97.00 B
53
- ESM dist/QRJFMNTB.js 74.00 B
23
+ ESM dist/index.js 811.00 B
54
24
  ESM dist/JZMKCXBO.js 1.07 KB
25
+ ESM dist/QRJFMNTB.js 74.00 B
26
+ ESM dist/DMFKLZKD.js 74.00 B
55
27
  ESM dist/transaction.js 103.00 B
56
28
  ESM dist/types.js 91.00 B
57
- ESM dist/DMFKLZKD.js 74.00 B
58
- ESM dist/VUOMXK5T.js 222.00 B
59
29
  ESM dist/utils.js 498.00 B
30
+ ESM dist/verification.js 172.00 B
60
31
  ESM dist/Y5EOMP5J.js 74.00 B
32
+ ESM dist/2RWPJSYR.js 413.00 B
33
+ ESM dist/VUOMXK5T.js 222.00 B
61
34
  ESM dist/VABOX5FT.js 570.00 B
62
35
  ESM dist/WITSYWN5.js 9.73 KB
63
36
  ESM dist/error.js.map 69.00 B
64
37
  ESM dist/multiSigTransaction.js.map 83.00 B
65
38
  ESM dist/provider.js.map 72.00 B
66
- ESM dist/index.js.map 69.00 B
39
+ ESM dist/JZMKCXBO.js.map 2.39 KB
67
40
  ESM dist/QRJFMNTB.js.map 72.00 B
41
+ ESM dist/index.js.map 69.00 B
42
+ ESM dist/DMFKLZKD.js.map 72.00 B
68
43
  ESM dist/transaction.js.map 75.00 B
69
- ESM dist/JZMKCXBO.js.map 2.39 KB
70
44
  ESM dist/types.js.map 69.00 B
71
- ESM dist/VUOMXK5T.js.map 72.00 B
72
- ESM dist/DMFKLZKD.js.map 72.00 B
73
- ESM dist/utils.js.map 69.00 B
74
45
  ESM dist/Y5EOMP5J.js.map 72.00 B
46
+ ESM dist/utils.js.map 69.00 B
47
+ ESM dist/2RWPJSYR.js.map 813.00 B
48
+ ESM dist/VUOMXK5T.js.map 72.00 B
49
+ ESM dist/verification.js.map 76.00 B
75
50
  ESM dist/VABOX5FT.js.map 819.00 B
76
51
  ESM dist/WITSYWN5.js.map 28.82 KB
77
- ESM ⚡️ Build success in 213ms
52
+ ESM ⚡️ Build success in 296ms
53
+ CJS dist/error.cjs 454.00 B
54
+ CJS dist/multiSigTransaction.cjs 778.00 B
55
+ CJS dist/R55BZY4H.cjs 1.22 KB
56
+ CJS dist/provider.cjs 118.00 B
57
+ CJS dist/index.cjs 3.18 KB
58
+ CJS dist/transaction.cjs 124.00 B
59
+ CJS dist/types.cjs 112.00 B
60
+ CJS dist/L6EI37IO.cjs 90.00 B
61
+ CJS dist/7LWJNWY6.cjs 90.00 B
62
+ CJS dist/PKPG4OQE.cjs 90.00 B
63
+ CJS dist/utils.cjs 2.26 KB
64
+ CJS dist/ZW4CIJT7.cjs 671.00 B
65
+ CJS dist/BJANQBLL.cjs 10.42 KB
66
+ CJS dist/verification.cjs 346.00 B
67
+ CJS dist/K3HXCRDT.cjs 513.00 B
68
+ CJS dist/YJF4D23A.cjs 245.00 B
69
+ CJS dist/error.cjs.map 70.00 B
70
+ CJS dist/R55BZY4H.cjs.map 2.39 KB
71
+ CJS dist/provider.cjs.map 73.00 B
72
+ CJS dist/index.cjs.map 70.00 B
73
+ CJS dist/transaction.cjs.map 76.00 B
74
+ CJS dist/types.cjs.map 70.00 B
75
+ CJS dist/L6EI37IO.cjs.map 73.00 B
76
+ CJS dist/PKPG4OQE.cjs.map 73.00 B
77
+ CJS dist/7LWJNWY6.cjs.map 73.00 B
78
+ CJS dist/multiSigTransaction.cjs.map 84.00 B
79
+ CJS dist/utils.cjs.map 70.00 B
80
+ CJS dist/ZW4CIJT7.cjs.map 822.00 B
81
+ CJS dist/BJANQBLL.cjs.map 28.86 KB
82
+ CJS dist/YJF4D23A.cjs.map 73.00 B
83
+ CJS dist/verification.cjs.map 77.00 B
84
+ CJS dist/K3HXCRDT.cjs.map 828.00 B
85
+ CJS ⚡️ Build success in 298ms
@@ -2,7 +2,7 @@
2
2
  > @layerzerolabs/common-suimove@0.0.0 lint /home/runner/work/monorepo-internal/monorepo-internal/packages/vms/common-suimove
3
3
  > eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)
4
4
 
5
- (node:43928) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1772836215144 is not specified and it doesn't parse as CommonJS.
5
+ (node:54647) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1773786598990 is not specified and it doesn't parse as CommonJS.
6
6
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
7
7
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
8
8
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -0,0 +1,11 @@
1
+ import { __name } from './VUOMXK5T.js';
2
+ import { ChainType } from '@layerzerolabs/layerzero-definitions';
3
+
4
+ var deriveSuiMoveVerificationArtifact = /* @__PURE__ */ __name(({ sourceCodeZipBase64 }) => ({
5
+ kind: ChainType.SUIMOVE,
6
+ sourceCodeZipBase64
7
+ }), "deriveSuiMoveVerificationArtifact");
8
+
9
+ export { deriveSuiMoveVerificationArtifact };
10
+ //# sourceMappingURL=2RWPJSYR.js.map
11
+ //# sourceMappingURL=2RWPJSYR.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/verification.ts"],"names":["deriveSuiMoveVerificationArtifact","sourceCodeZipBase64","kind","ChainType","SUIMOVE"],"mappings":";;;AAOO,IAAMA,iCAAAA,mBAAoC,MAAA,CAAA,CAAC,EAC9CC,mBAAAA,EAAmB,MAGhB;AACHC,EAAAA,IAAAA,EAAMC,SAAAA,CAAUC,OAAAA;AAChBH,EAAAA;AACJ,CAAA,CAAA,EAPiD,mCAAA","file":"2RWPJSYR.js","sourcesContent":["import { ChainType } from '@layerzerolabs/layerzero-definitions';\n\n/**\n * Wraps verification data into the artifact shape expected by the\n * contract-verification-activity-factory for Sui Move chains\n * (discriminated by `kind: ChainType.SUIMOVE`).\n */\nexport const deriveSuiMoveVerificationArtifact = ({\n sourceCodeZipBase64,\n}: {\n sourceCodeZipBase64: string;\n}) => ({\n kind: ChainType.SUIMOVE as const,\n sourceCodeZipBase64,\n});\n"]}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var YJF4D23A_cjs = require('./YJF4D23A.cjs');
4
+ var layerzeroDefinitions = require('@layerzerolabs/layerzero-definitions');
5
+
6
+ var deriveSuiMoveVerificationArtifact = /* @__PURE__ */ YJF4D23A_cjs.__name(({ sourceCodeZipBase64 }) => ({
7
+ kind: layerzeroDefinitions.ChainType.SUIMOVE,
8
+ sourceCodeZipBase64
9
+ }), "deriveSuiMoveVerificationArtifact");
10
+
11
+ exports.deriveSuiMoveVerificationArtifact = deriveSuiMoveVerificationArtifact;
12
+ //# sourceMappingURL=K3HXCRDT.cjs.map
13
+ //# sourceMappingURL=K3HXCRDT.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/verification.ts"],"names":["deriveSuiMoveVerificationArtifact","__name","sourceCodeZipBase64","kind","ChainType","SUIMOVE"],"mappings":";;;;;AAOO,IAAMA,iCAAAA,mBAAoCC,mBAAA,CAAA,CAAC,EAC9CC,mBAAAA,EAAmB,MAGhB;AACHC,EAAAA,IAAAA,EAAMC,8BAAAA,CAAUC,OAAAA;AAChBH,EAAAA;AACJ,CAAA,CAAA,EAPiD,mCAAA","file":"K3HXCRDT.cjs","sourcesContent":["import { ChainType } from '@layerzerolabs/layerzero-definitions';\n\n/**\n * Wraps verification data into the artifact shape expected by the\n * contract-verification-activity-factory for Sui Move chains\n * (discriminated by `kind: ChainType.SUIMOVE`).\n */\nexport const deriveSuiMoveVerificationArtifact = ({\n sourceCodeZipBase64,\n}: {\n sourceCodeZipBase64: string;\n}) => ({\n kind: ChainType.SUIMOVE as const,\n sourceCodeZipBase64,\n});\n"]}
package/dist/index.cjs CHANGED
@@ -6,6 +6,7 @@ require('./7LWJNWY6.cjs');
6
6
  require('./PKPG4OQE.cjs');
7
7
  var BJANQBLL_cjs = require('./BJANQBLL.cjs');
8
8
  require('./ZW4CIJT7.cjs');
9
+ var K3HXCRDT_cjs = require('./K3HXCRDT.cjs');
9
10
  require('./YJF4D23A.cjs');
10
11
 
11
12
 
@@ -78,5 +79,9 @@ Object.defineProperty(exports, "suiMoveViewParsed", {
78
79
  enumerable: true,
79
80
  get: function () { return BJANQBLL_cjs.suiMoveViewParsed; }
80
81
  });
82
+ Object.defineProperty(exports, "deriveSuiMoveVerificationArtifact", {
83
+ enumerable: true,
84
+ get: function () { return K3HXCRDT_cjs.deriveSuiMoveVerificationArtifact; }
85
+ });
81
86
  //# sourceMappingURL=index.cjs.map
82
87
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.ts CHANGED
@@ -3,4 +3,5 @@ export * from './provider';
3
3
  export * from './transaction';
4
4
  export * from './types';
5
5
  export * from './utils';
6
+ export * from './verification';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
package/dist/index.js CHANGED
@@ -4,6 +4,7 @@ import './DMFKLZKD.js';
4
4
  import './Y5EOMP5J.js';
5
5
  export { checkInclusion, convertToSuiMoveEvents, filterObjectChanges, getDefiningPackageIdFromObjectType, getSuiMoveObjectValidated, getSuiMoveOwnedObjectsByType, getSuiMovePackagePublishObjectChanges, getSuiMoveTransactionBlockValidated, handleError, normalizeSuiMoveAddress, searchForCoinTypeInWallet, suiMoveView, suiMoveViewMultiResult, suiMoveViewParsed } from './WITSYWN5.js';
6
6
  import './VABOX5FT.js';
7
+ export { deriveSuiMoveVerificationArtifact } from './2RWPJSYR.js';
7
8
  import './VUOMXK5T.js';
8
9
  //# sourceMappingURL=index.js.map
9
10
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var K3HXCRDT_cjs = require('./K3HXCRDT.cjs');
4
+ require('./YJF4D23A.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "deriveSuiMoveVerificationArtifact", {
9
+ enumerable: true,
10
+ get: function () { return K3HXCRDT_cjs.deriveSuiMoveVerificationArtifact; }
11
+ });
12
+ //# sourceMappingURL=verification.cjs.map
13
+ //# sourceMappingURL=verification.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"verification.cjs"}
@@ -0,0 +1,13 @@
1
+ import { ChainType } from '@layerzerolabs/layerzero-definitions';
2
+ /**
3
+ * Wraps verification data into the artifact shape expected by the
4
+ * contract-verification-activity-factory for Sui Move chains
5
+ * (discriminated by `kind: ChainType.SUIMOVE`).
6
+ */
7
+ export declare const deriveSuiMoveVerificationArtifact: ({ sourceCodeZipBase64, }: {
8
+ sourceCodeZipBase64: string;
9
+ }) => {
10
+ kind: ChainType.SUIMOVE;
11
+ sourceCodeZipBase64: string;
12
+ };
13
+ //# sourceMappingURL=verification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verification.d.ts","sourceRoot":"","sources":["../src/verification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEjE;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,GAAI,0BAE/C;IACC,mBAAmB,EAAE,MAAM,CAAC;CAC/B;;;CAGC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { deriveSuiMoveVerificationArtifact } from './2RWPJSYR.js';
2
+ import './VUOMXK5T.js';
3
+ //# sourceMappingURL=verification.js.map
4
+ //# sourceMappingURL=verification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"verification.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/common-suimove",
3
- "version": "0.2.51",
3
+ "version": "0.2.53",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -17,15 +17,15 @@
17
17
  "@iota/iota-sdk": "^1.6.1",
18
18
  "@mysten/sui": "^1.35.0",
19
19
  "zod": "4.3.5",
20
- "@layerzerolabs/layerzero-definitions": "0.2.51",
21
- "@layerzerolabs/common-chain-model": "0.2.51",
22
- "@layerzerolabs/typescript-utils": "0.2.51"
20
+ "@layerzerolabs/common-chain-model": "0.2.53",
21
+ "@layerzerolabs/layerzero-definitions": "0.2.53",
22
+ "@layerzerolabs/typescript-utils": "0.2.53"
23
23
  },
24
24
  "devDependencies": {
25
25
  "tsup": "^8.4.0",
26
26
  "vitest": "^3.2.3",
27
- "@layerzerolabs/tsup-configuration": "0.2.51",
28
- "@layerzerolabs/typescript-configuration": "0.2.51"
27
+ "@layerzerolabs/tsup-configuration": "0.2.53",
28
+ "@layerzerolabs/typescript-configuration": "0.2.53"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "restricted",
package/src/index.ts CHANGED
@@ -3,3 +3,4 @@ export * from './provider';
3
3
  export * from './transaction';
4
4
  export * from './types';
5
5
  export * from './utils';
6
+ export * from './verification';
@@ -0,0 +1,15 @@
1
+ import { ChainType } from '@layerzerolabs/layerzero-definitions';
2
+
3
+ /**
4
+ * Wraps verification data into the artifact shape expected by the
5
+ * contract-verification-activity-factory for Sui Move chains
6
+ * (discriminated by `kind: ChainType.SUIMOVE`).
7
+ */
8
+ export const deriveSuiMoveVerificationArtifact = ({
9
+ sourceCodeZipBase64,
10
+ }: {
11
+ sourceCodeZipBase64: string;
12
+ }) => ({
13
+ kind: ChainType.SUIMOVE as const,
14
+ sourceCodeZipBase64,
15
+ });