@layerzerolabs/common-suimove 1.2.73 → 1.2.75

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.
@@ -0,0 +1,111 @@
1
+ // src/events.ts
2
+ var LZ_EVENT_BYTE_VECTOR_FIELDS = {
3
+ // endpoint_v2::messaging_channel
4
+ "messaging_channel::PacketSentEvent": [
5
+ "encoded_packet",
6
+ "options"
7
+ ],
8
+ "messaging_channel::PacketVerifiedEvent": [
9
+ "sender.bytes",
10
+ "payload_hash.bytes"
11
+ ],
12
+ "messaging_channel::PacketDeliveredEvent": [
13
+ "sender.bytes"
14
+ ],
15
+ "messaging_channel::InboundNonceSkippedEvent": [
16
+ "sender.bytes"
17
+ ],
18
+ "messaging_channel::PacketNilifiedEvent": [
19
+ "sender.bytes",
20
+ "payload_hash.bytes"
21
+ ],
22
+ "messaging_channel::PacketBurntEvent": [
23
+ "sender.bytes",
24
+ "payload_hash.bytes"
25
+ ],
26
+ "messaging_channel::LzReceiveAlertEvent": [
27
+ "sender.bytes",
28
+ "guid.bytes",
29
+ "message",
30
+ "extra_data"
31
+ ],
32
+ "messaging_channel::ChannelInitializedEvent": [
33
+ "remote_oapp.bytes"
34
+ ],
35
+ // endpoint_v2::messaging_composer
36
+ "messaging_composer::ComposeSentEvent": [
37
+ "guid.bytes",
38
+ "message"
39
+ ],
40
+ "messaging_composer::ComposeDeliveredEvent": [
41
+ "guid.bytes"
42
+ ],
43
+ "messaging_composer::LzComposeAlertEvent": [
44
+ "guid.bytes",
45
+ "message",
46
+ "extra_data"
47
+ ],
48
+ "messaging_composer::ComposerRegisteredEvent": [
49
+ "composer_info"
50
+ ],
51
+ "messaging_composer::ComposerInfoSetEvent": [
52
+ "composer_info"
53
+ ],
54
+ // endpoint_v2::oapp_registry
55
+ "oapp_registry::OAppRegisteredEvent": [
56
+ "oapp_info"
57
+ ],
58
+ "oapp_registry::OAppInfoSetEvent": [
59
+ "oapp_info"
60
+ ],
61
+ // uln_302::send_uln
62
+ "send_uln::ExecutorFeePaidEvent": [
63
+ "guid.bytes"
64
+ ],
65
+ "send_uln::DVNFeePaidEvent": [
66
+ "guid.bytes"
67
+ ],
68
+ // uln_302::receive_uln
69
+ "receive_uln::PayloadVerifiedEvent": [
70
+ "header",
71
+ "proof_hash.bytes"
72
+ ],
73
+ // oft::oft
74
+ "oft::OFTSentEvent": [
75
+ "guid.bytes"
76
+ ],
77
+ "oft::OFTReceivedEvent": [
78
+ "guid.bytes"
79
+ ],
80
+ // oft_common::oft_composer_manager
81
+ "oft_composer_manager::ComposeTransferSentEvent": [
82
+ "guid.bytes"
83
+ ],
84
+ // oapp::oapp_peer, oapp::enforced_options
85
+ "oapp_peer::PeerSetEvent": [
86
+ "peer.bytes"
87
+ ],
88
+ "enforced_options::EnforcedOptionSetEvent": [
89
+ "options"
90
+ ],
91
+ // worker_common::worker_common
92
+ "worker_common::SetSupportedOptionTypesEvent": [
93
+ "option_types"
94
+ ],
95
+ // executor::executor_worker
96
+ "executor_worker::NativeDropAppliedEvent": [
97
+ "sender.bytes"
98
+ ],
99
+ // worker_registry::worker_registry
100
+ "worker_registry::WorkerInfoSetEvent": [
101
+ "worker_info"
102
+ ],
103
+ // dvn::multisig
104
+ "multisig::UpdateSignerEvent": [
105
+ "signer"
106
+ ]
107
+ };
108
+
109
+ export { LZ_EVENT_BYTE_VECTOR_FIELDS };
110
+ //# sourceMappingURL=LM5MAGQN.js.map
111
+ //# sourceMappingURL=LM5MAGQN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/events.ts"],"names":["LZ_EVENT_BYTE_VECTOR_FIELDS"],"mappings":";AASO,IAAMA,2BAAAA,GAA2E;;EAEpF,oCAAA,EAAsC;AAAC,IAAA,gBAAA;AAAkB,IAAA;;EACzD,wCAAA,EAA0C;AAAC,IAAA,cAAA;AAAgB,IAAA;;EAC3D,yCAAA,EAA2C;AAAC,IAAA;;EAC5C,6CAAA,EAA+C;AAAC,IAAA;;EAChD,wCAAA,EAA0C;AAAC,IAAA,cAAA;AAAgB,IAAA;;EAC3D,qCAAA,EAAuC;AAAC,IAAA,cAAA;AAAgB,IAAA;;EACxD,wCAAA,EAA0C;AACtC,IAAA,cAAA;AACA,IAAA,YAAA;AACA,IAAA,SAAA;AACA,IAAA;;EAEJ,4CAAA,EAA8C;AAAC,IAAA;;;EAE/C,sCAAA,EAAwC;AAAC,IAAA,YAAA;AAAc,IAAA;;EACvD,2CAAA,EAA6C;AAAC,IAAA;;EAC9C,yCAAA,EAA2C;AAAC,IAAA,YAAA;AAAc,IAAA,SAAA;AAAW,IAAA;;EACrE,6CAAA,EAA+C;AAAC,IAAA;;EAChD,0CAAA,EAA4C;AAAC,IAAA;;;EAE7C,oCAAA,EAAsC;AAAC,IAAA;;EACvC,iCAAA,EAAmC;AAAC,IAAA;;;EAEpC,gCAAA,EAAkC;AAAC,IAAA;;EACnC,2BAAA,EAA6B;AAAC,IAAA;;;EAE9B,mCAAA,EAAqC;AAAC,IAAA,QAAA;AAAU,IAAA;;;EAEhD,mBAAA,EAAqB;AAAC,IAAA;;EACtB,uBAAA,EAAyB;AAAC,IAAA;;;EAE1B,gDAAA,EAAkD;AAAC,IAAA;;;EAEnD,yBAAA,EAA2B;AAAC,IAAA;;EAC5B,0CAAA,EAA4C;AAAC,IAAA;;;EAE7C,6CAAA,EAA+C;AAAC,IAAA;;;EAEhD,yCAAA,EAA2C;AAAC,IAAA;;;EAE5C,qCAAA,EAAuC;AAAC,IAAA;;;EAExC,6BAAA,EAA+B;AAAC,IAAA;;AACpC","file":"LM5MAGQN.js","sourcesContent":["/**\n * Move `vector<u8>` field paths of the LayerZero Sui event structs, keyed by `module::Name` with no\n * package address, since the same event (e.g. `oft::OFTSentEvent`) is emitted by many deployments.\n * Dot-separated paths reach into nested structs, e.g. `sender.bytes`. Must match the `.move` event\n * struct definitions, so update this when an event struct gains or loses a `vector<u8>` field.\n *\n * Kept free of imports so it can be loaded through the `./events` subpath without pulling in the\n * rest of this package.\n */\nexport const LZ_EVENT_BYTE_VECTOR_FIELDS: Readonly<Record<string, readonly string[]>> = {\n // endpoint_v2::messaging_channel\n 'messaging_channel::PacketSentEvent': ['encoded_packet', 'options'],\n 'messaging_channel::PacketVerifiedEvent': ['sender.bytes', 'payload_hash.bytes'],\n 'messaging_channel::PacketDeliveredEvent': ['sender.bytes'],\n 'messaging_channel::InboundNonceSkippedEvent': ['sender.bytes'],\n 'messaging_channel::PacketNilifiedEvent': ['sender.bytes', 'payload_hash.bytes'],\n 'messaging_channel::PacketBurntEvent': ['sender.bytes', 'payload_hash.bytes'],\n 'messaging_channel::LzReceiveAlertEvent': [\n 'sender.bytes',\n 'guid.bytes',\n 'message',\n 'extra_data',\n ],\n 'messaging_channel::ChannelInitializedEvent': ['remote_oapp.bytes'],\n // endpoint_v2::messaging_composer\n 'messaging_composer::ComposeSentEvent': ['guid.bytes', 'message'],\n 'messaging_composer::ComposeDeliveredEvent': ['guid.bytes'],\n 'messaging_composer::LzComposeAlertEvent': ['guid.bytes', 'message', 'extra_data'],\n 'messaging_composer::ComposerRegisteredEvent': ['composer_info'],\n 'messaging_composer::ComposerInfoSetEvent': ['composer_info'],\n // endpoint_v2::oapp_registry\n 'oapp_registry::OAppRegisteredEvent': ['oapp_info'],\n 'oapp_registry::OAppInfoSetEvent': ['oapp_info'],\n // uln_302::send_uln\n 'send_uln::ExecutorFeePaidEvent': ['guid.bytes'],\n 'send_uln::DVNFeePaidEvent': ['guid.bytes'],\n // uln_302::receive_uln\n 'receive_uln::PayloadVerifiedEvent': ['header', 'proof_hash.bytes'],\n // oft::oft\n 'oft::OFTSentEvent': ['guid.bytes'],\n 'oft::OFTReceivedEvent': ['guid.bytes'],\n // oft_common::oft_composer_manager\n 'oft_composer_manager::ComposeTransferSentEvent': ['guid.bytes'],\n // oapp::oapp_peer, oapp::enforced_options\n 'oapp_peer::PeerSetEvent': ['peer.bytes'],\n 'enforced_options::EnforcedOptionSetEvent': ['options'],\n // worker_common::worker_common\n 'worker_common::SetSupportedOptionTypesEvent': ['option_types'],\n // executor::executor_worker\n 'executor_worker::NativeDropAppliedEvent': ['sender.bytes'],\n // worker_registry::worker_registry\n 'worker_registry::WorkerInfoSetEvent': ['worker_info'],\n // dvn::multisig\n 'multisig::UpdateSignerEvent': ['signer'],\n};\n"]}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Move `vector<u8>` field paths of the LayerZero Sui event structs, keyed by `module::Name` with no
3
+ * package address, since the same event (e.g. `oft::OFTSentEvent`) is emitted by many deployments.
4
+ * Dot-separated paths reach into nested structs, e.g. `sender.bytes`. Must match the `.move` event
5
+ * struct definitions, so update this when an event struct gains or loses a `vector<u8>` field.
6
+ *
7
+ * Kept free of imports so it can be loaded through the `./events` subpath without pulling in the
8
+ * rest of this package.
9
+ */
10
+ export declare const LZ_EVENT_BYTE_VECTOR_FIELDS: Readonly<Record<string, readonly string[]>>;
11
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CA6CnF,CAAC"}
package/dist/events.js ADDED
@@ -0,0 +1,4 @@
1
+ export { LZ_EVENT_BYTE_VECTOR_FIELDS } from './LM5MAGQN.js';
2
+ import './VUOMXK5T.js';
3
+ //# sourceMappingURL=events.js.map
4
+ //# sourceMappingURL=events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"events.js"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './events';
1
2
  export * from './multiSigTransaction';
2
3
  export * from './provider';
3
4
  export * from './transaction';
@@ -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;AACxB,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,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
@@ -1,10 +1,11 @@
1
+ export { deriveSuiMoveVerificationArtifact } from './2RWPJSYR.js';
2
+ export { LZ_EVENT_BYTE_VECTOR_FIELDS } from './LM5MAGQN.js';
1
3
  export { suiMoveMultiSigExecutedProposedTransactionSchema, suiMoveMultiSigSignedTransactionToProposeSchema, suiMoveMultiSigTransactionToProposeSchema } from './JZMKCXBO.js';
2
4
  import './QRJFMNTB.js';
3
5
  import './DMFKLZKD.js';
4
6
  import './Y5EOMP5J.js';
5
7
  export { checkInclusion, convertToSuiMoveEvents, filterObjectChanges, getDefiningPackageIdFromObjectType, getSuiMoveObjectValidated, getSuiMoveOwnedObjectsByType, getSuiMovePackagePublishObjectChanges, getSuiMoveTransactionBlockValidated, handleError, normalizeSuiMoveAddress, searchForCoinTypeInWallet, suiMoveView, suiMoveViewMultiResult, suiMoveViewParsed } from './UWX3Y5ZB.js';
6
8
  import './VABOX5FT.js';
7
- export { deriveSuiMoveVerificationArtifact } from './2RWPJSYR.js';
8
9
  import './VUOMXK5T.js';
9
10
  //# sourceMappingURL=index.js.map
10
11
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,13 +1,20 @@
1
1
  {
2
2
  "name": "@layerzerolabs/common-suimove",
3
- "version": "1.2.73",
3
+ "version": "1.2.75",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "exports": {
8
- "types": "./dist/index.d.ts",
9
- "import": "./dist/index.js",
10
- "default": "./dist/index.js"
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "import": "./dist/index.js",
11
+ "default": "./dist/index.js"
12
+ },
13
+ "./events": {
14
+ "types": "./dist/events.d.ts",
15
+ "import": "./dist/events.js",
16
+ "default": "./dist/events.js"
17
+ }
11
18
  },
12
19
  "main": "./dist/index.js",
13
20
  "module": "./dist/index.js",
@@ -17,15 +24,15 @@
17
24
  ],
18
25
  "dependencies": {
19
26
  "@iota/iota-sdk": "1.10.1",
20
- "@layerzerolabs/common-chain-model": "1.2.73",
21
- "@layerzerolabs/layerzero-definitions": "1.2.73",
22
- "@layerzerolabs/typescript-utils": "1.2.73",
27
+ "@layerzerolabs/common-chain-model": "1.2.75",
28
+ "@layerzerolabs/layerzero-definitions": "1.2.75",
29
+ "@layerzerolabs/typescript-utils": "1.2.75",
23
30
  "@mysten/sui": "^1.45.1",
24
31
  "zod": "4.3.5"
25
32
  },
26
33
  "devDependencies": {
27
- "@layerzerolabs/tsup-configuration": "1.2.73",
28
- "@layerzerolabs/typescript-configuration": "1.2.73",
34
+ "@layerzerolabs/tsup-configuration": "1.2.75",
35
+ "@layerzerolabs/typescript-configuration": "1.2.75",
29
36
  "tsup": "^8.4.0",
30
37
  "vitest": "^4.1.10"
31
38
  },
@@ -35,7 +42,9 @@
35
42
  },
36
43
  "externalRepoConfig": {
37
44
  "targets": [
38
- "everdawn-externalization"
45
+ "everdawn-externalization",
46
+ "gasolina-audit",
47
+ "lz-labs-sidecar"
39
48
  ]
40
49
  },
41
50
  "scripts": {