@layerzerolabs/lz-aptos-sdk-v1 3.0.3 → 3.0.4
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/CHANGELOG.md +8 -0
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -43
- package/dist/index.d.ts +56 -43
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -96,16 +96,16 @@ interface UlnSignerFee {
|
|
|
96
96
|
fee_per_byte: aptos.BCS.Uint64;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
type index$
|
|
100
|
-
type index$
|
|
101
|
-
type index$
|
|
102
|
-
type index$
|
|
103
|
-
type index$
|
|
104
|
-
type index$
|
|
105
|
-
type index$
|
|
106
|
-
type index$
|
|
107
|
-
declare namespace index$
|
|
108
|
-
export type { index$
|
|
99
|
+
type index$3_CoinInfo = CoinInfo;
|
|
100
|
+
type index$3_CoinInfoEx = CoinInfoEx;
|
|
101
|
+
type index$3_CoinInfoResource = CoinInfoResource;
|
|
102
|
+
type index$3_Packet = Packet;
|
|
103
|
+
type index$3_TypeInfo = TypeInfo;
|
|
104
|
+
type index$3_TypeInfoEx = TypeInfoEx;
|
|
105
|
+
type index$3_UlnConfigType = UlnConfigType;
|
|
106
|
+
type index$3_UlnSignerFee = UlnSignerFee;
|
|
107
|
+
declare namespace index$3 {
|
|
108
|
+
export type { index$3_CoinInfo as CoinInfo, index$3_CoinInfoEx as CoinInfoEx, index$3_CoinInfoResource as CoinInfoResource, index$3_Packet as Packet, index$3_TypeInfo as TypeInfo, index$3_TypeInfoEx as TypeInfoEx, index$3_UlnConfigType as UlnConfigType, index$3_UlnSignerFee as UlnSignerFee };
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
declare class Endpoint {
|
|
@@ -527,20 +527,20 @@ declare class Uln {
|
|
|
527
527
|
constructor(sdk: SDK);
|
|
528
528
|
}
|
|
529
529
|
|
|
530
|
-
type index$
|
|
531
|
-
declare const index$
|
|
532
|
-
type index$
|
|
533
|
-
declare const index$
|
|
534
|
-
type index$
|
|
535
|
-
declare const index$
|
|
536
|
-
type index$
|
|
537
|
-
declare const index$
|
|
538
|
-
type index$
|
|
539
|
-
declare const index$
|
|
540
|
-
type index$
|
|
541
|
-
declare const index$
|
|
542
|
-
declare namespace index$
|
|
543
|
-
export { index$
|
|
530
|
+
type index$2_MsgLibV1_0 = MsgLibV1_0;
|
|
531
|
+
declare const index$2_MsgLibV1_0: typeof MsgLibV1_0;
|
|
532
|
+
type index$2_PacketEvent = PacketEvent;
|
|
533
|
+
declare const index$2_PacketEvent: typeof PacketEvent;
|
|
534
|
+
type index$2_Uln = Uln;
|
|
535
|
+
declare const index$2_Uln: typeof Uln;
|
|
536
|
+
type index$2_UlnConfig = UlnConfig;
|
|
537
|
+
declare const index$2_UlnConfig: typeof UlnConfig;
|
|
538
|
+
type index$2_UlnReceive = UlnReceive;
|
|
539
|
+
declare const index$2_UlnReceive: typeof UlnReceive;
|
|
540
|
+
type index$2_UlnSigner = UlnSigner;
|
|
541
|
+
declare const index$2_UlnSigner: typeof UlnSigner;
|
|
542
|
+
declare namespace index$2 {
|
|
543
|
+
export { index$2_MsgLibV1_0 as MsgLibV1_0, index$2_PacketEvent as PacketEvent, index$2_Uln as Uln, index$2_UlnConfig as UlnConfig, index$2_UlnReceive as UlnReceive, index$2_UlnSigner as UlnSigner };
|
|
544
544
|
}
|
|
545
545
|
|
|
546
546
|
declare class Layerzero {
|
|
@@ -950,25 +950,38 @@ declare class PreCrime {
|
|
|
950
950
|
private assertType;
|
|
951
951
|
}
|
|
952
952
|
|
|
953
|
-
type
|
|
954
|
-
declare const
|
|
955
|
-
type
|
|
956
|
-
declare const
|
|
957
|
-
type
|
|
958
|
-
declare const
|
|
959
|
-
type
|
|
960
|
-
declare const
|
|
961
|
-
type
|
|
962
|
-
declare const
|
|
963
|
-
type
|
|
964
|
-
declare const
|
|
965
|
-
type
|
|
966
|
-
declare const
|
|
967
|
-
type
|
|
968
|
-
declare const
|
|
969
|
-
declare const
|
|
953
|
+
type index$1_Coin = Coin;
|
|
954
|
+
declare const index$1_Coin: typeof Coin;
|
|
955
|
+
type index$1_Counter = Counter;
|
|
956
|
+
declare const index$1_Counter: typeof Counter;
|
|
957
|
+
type index$1_LzApp = LzApp;
|
|
958
|
+
declare const index$1_LzApp: typeof LzApp;
|
|
959
|
+
type index$1_MultisigOracle = MultisigOracle;
|
|
960
|
+
declare const index$1_MultisigOracle: typeof MultisigOracle;
|
|
961
|
+
type index$1_MultisigOracleTss = MultisigOracleTss;
|
|
962
|
+
declare const index$1_MultisigOracleTss: typeof MultisigOracleTss;
|
|
963
|
+
type index$1_OFT = OFT;
|
|
964
|
+
declare const index$1_OFT: typeof OFT;
|
|
965
|
+
type index$1_Oracle = Oracle;
|
|
966
|
+
declare const index$1_Oracle: typeof Oracle;
|
|
967
|
+
type index$1_PreCrime = PreCrime;
|
|
968
|
+
declare const index$1_PreCrime: typeof PreCrime;
|
|
969
|
+
declare const index$1_bridge: typeof bridge;
|
|
970
|
+
declare namespace index$1 {
|
|
971
|
+
export { index$1_Coin as Coin, index$1_Counter as Counter, index$1_LzApp as LzApp, index$1_MultisigOracle as MultisigOracle, index$1_MultisigOracleTss as MultisigOracleTss, index$1_OFT as OFT, index$1_Oracle as Oracle, index$1_PreCrime as PreCrime, index$1_bridge as bridge };
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
declare function rebuildCompileScriptBytecode(bytecode: string | Uint8Array, addresses: {
|
|
975
|
+
oldValue: Uint8Array;
|
|
976
|
+
newValue: Uint8Array;
|
|
977
|
+
}[], names: {
|
|
978
|
+
oldValue: string;
|
|
979
|
+
newValue: string;
|
|
980
|
+
}[]): string;
|
|
981
|
+
|
|
982
|
+
declare const index_rebuildCompileScriptBytecode: typeof rebuildCompileScriptBytecode;
|
|
970
983
|
declare namespace index {
|
|
971
|
-
export {
|
|
984
|
+
export { index_rebuildCompileScriptBytecode as rebuildCompileScriptBytecode };
|
|
972
985
|
}
|
|
973
986
|
|
|
974
987
|
type AccountsOption = {
|
|
@@ -1008,4 +1021,4 @@ declare class SDK {
|
|
|
1008
1021
|
private sendAndConfirmRawTransaction;
|
|
1009
1022
|
}
|
|
1010
1023
|
|
|
1011
|
-
export { type AccountsOption, SDK, type SdkOptions, index as apps, constants, index$
|
|
1024
|
+
export { type AccountsOption, SDK, type SdkOptions, index$1 as apps, constants, index as format, index$3 as types, index$2 as uln, utils };
|
package/dist/index.d.ts
CHANGED
|
@@ -96,16 +96,16 @@ interface UlnSignerFee {
|
|
|
96
96
|
fee_per_byte: aptos.BCS.Uint64;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
type index$
|
|
100
|
-
type index$
|
|
101
|
-
type index$
|
|
102
|
-
type index$
|
|
103
|
-
type index$
|
|
104
|
-
type index$
|
|
105
|
-
type index$
|
|
106
|
-
type index$
|
|
107
|
-
declare namespace index$
|
|
108
|
-
export type { index$
|
|
99
|
+
type index$3_CoinInfo = CoinInfo;
|
|
100
|
+
type index$3_CoinInfoEx = CoinInfoEx;
|
|
101
|
+
type index$3_CoinInfoResource = CoinInfoResource;
|
|
102
|
+
type index$3_Packet = Packet;
|
|
103
|
+
type index$3_TypeInfo = TypeInfo;
|
|
104
|
+
type index$3_TypeInfoEx = TypeInfoEx;
|
|
105
|
+
type index$3_UlnConfigType = UlnConfigType;
|
|
106
|
+
type index$3_UlnSignerFee = UlnSignerFee;
|
|
107
|
+
declare namespace index$3 {
|
|
108
|
+
export type { index$3_CoinInfo as CoinInfo, index$3_CoinInfoEx as CoinInfoEx, index$3_CoinInfoResource as CoinInfoResource, index$3_Packet as Packet, index$3_TypeInfo as TypeInfo, index$3_TypeInfoEx as TypeInfoEx, index$3_UlnConfigType as UlnConfigType, index$3_UlnSignerFee as UlnSignerFee };
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
declare class Endpoint {
|
|
@@ -527,20 +527,20 @@ declare class Uln {
|
|
|
527
527
|
constructor(sdk: SDK);
|
|
528
528
|
}
|
|
529
529
|
|
|
530
|
-
type index$
|
|
531
|
-
declare const index$
|
|
532
|
-
type index$
|
|
533
|
-
declare const index$
|
|
534
|
-
type index$
|
|
535
|
-
declare const index$
|
|
536
|
-
type index$
|
|
537
|
-
declare const index$
|
|
538
|
-
type index$
|
|
539
|
-
declare const index$
|
|
540
|
-
type index$
|
|
541
|
-
declare const index$
|
|
542
|
-
declare namespace index$
|
|
543
|
-
export { index$
|
|
530
|
+
type index$2_MsgLibV1_0 = MsgLibV1_0;
|
|
531
|
+
declare const index$2_MsgLibV1_0: typeof MsgLibV1_0;
|
|
532
|
+
type index$2_PacketEvent = PacketEvent;
|
|
533
|
+
declare const index$2_PacketEvent: typeof PacketEvent;
|
|
534
|
+
type index$2_Uln = Uln;
|
|
535
|
+
declare const index$2_Uln: typeof Uln;
|
|
536
|
+
type index$2_UlnConfig = UlnConfig;
|
|
537
|
+
declare const index$2_UlnConfig: typeof UlnConfig;
|
|
538
|
+
type index$2_UlnReceive = UlnReceive;
|
|
539
|
+
declare const index$2_UlnReceive: typeof UlnReceive;
|
|
540
|
+
type index$2_UlnSigner = UlnSigner;
|
|
541
|
+
declare const index$2_UlnSigner: typeof UlnSigner;
|
|
542
|
+
declare namespace index$2 {
|
|
543
|
+
export { index$2_MsgLibV1_0 as MsgLibV1_0, index$2_PacketEvent as PacketEvent, index$2_Uln as Uln, index$2_UlnConfig as UlnConfig, index$2_UlnReceive as UlnReceive, index$2_UlnSigner as UlnSigner };
|
|
544
544
|
}
|
|
545
545
|
|
|
546
546
|
declare class Layerzero {
|
|
@@ -950,25 +950,38 @@ declare class PreCrime {
|
|
|
950
950
|
private assertType;
|
|
951
951
|
}
|
|
952
952
|
|
|
953
|
-
type
|
|
954
|
-
declare const
|
|
955
|
-
type
|
|
956
|
-
declare const
|
|
957
|
-
type
|
|
958
|
-
declare const
|
|
959
|
-
type
|
|
960
|
-
declare const
|
|
961
|
-
type
|
|
962
|
-
declare const
|
|
963
|
-
type
|
|
964
|
-
declare const
|
|
965
|
-
type
|
|
966
|
-
declare const
|
|
967
|
-
type
|
|
968
|
-
declare const
|
|
969
|
-
declare const
|
|
953
|
+
type index$1_Coin = Coin;
|
|
954
|
+
declare const index$1_Coin: typeof Coin;
|
|
955
|
+
type index$1_Counter = Counter;
|
|
956
|
+
declare const index$1_Counter: typeof Counter;
|
|
957
|
+
type index$1_LzApp = LzApp;
|
|
958
|
+
declare const index$1_LzApp: typeof LzApp;
|
|
959
|
+
type index$1_MultisigOracle = MultisigOracle;
|
|
960
|
+
declare const index$1_MultisigOracle: typeof MultisigOracle;
|
|
961
|
+
type index$1_MultisigOracleTss = MultisigOracleTss;
|
|
962
|
+
declare const index$1_MultisigOracleTss: typeof MultisigOracleTss;
|
|
963
|
+
type index$1_OFT = OFT;
|
|
964
|
+
declare const index$1_OFT: typeof OFT;
|
|
965
|
+
type index$1_Oracle = Oracle;
|
|
966
|
+
declare const index$1_Oracle: typeof Oracle;
|
|
967
|
+
type index$1_PreCrime = PreCrime;
|
|
968
|
+
declare const index$1_PreCrime: typeof PreCrime;
|
|
969
|
+
declare const index$1_bridge: typeof bridge;
|
|
970
|
+
declare namespace index$1 {
|
|
971
|
+
export { index$1_Coin as Coin, index$1_Counter as Counter, index$1_LzApp as LzApp, index$1_MultisigOracle as MultisigOracle, index$1_MultisigOracleTss as MultisigOracleTss, index$1_OFT as OFT, index$1_Oracle as Oracle, index$1_PreCrime as PreCrime, index$1_bridge as bridge };
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
declare function rebuildCompileScriptBytecode(bytecode: string | Uint8Array, addresses: {
|
|
975
|
+
oldValue: Uint8Array;
|
|
976
|
+
newValue: Uint8Array;
|
|
977
|
+
}[], names: {
|
|
978
|
+
oldValue: string;
|
|
979
|
+
newValue: string;
|
|
980
|
+
}[]): string;
|
|
981
|
+
|
|
982
|
+
declare const index_rebuildCompileScriptBytecode: typeof rebuildCompileScriptBytecode;
|
|
970
983
|
declare namespace index {
|
|
971
|
-
export {
|
|
984
|
+
export { index_rebuildCompileScriptBytecode as rebuildCompileScriptBytecode };
|
|
972
985
|
}
|
|
973
986
|
|
|
974
987
|
type AccountsOption = {
|
|
@@ -1008,4 +1021,4 @@ declare class SDK {
|
|
|
1008
1021
|
private sendAndConfirmRawTransaction;
|
|
1009
1022
|
}
|
|
1010
1023
|
|
|
1011
|
-
export { type AccountsOption, SDK, type SdkOptions, index as apps, constants, index$
|
|
1024
|
+
export { type AccountsOption, SDK, type SdkOptions, index$1 as apps, constants, index as format, index$3 as types, index$2 as uln, utils };
|
package/dist/index.mjs
CHANGED
|
@@ -4532,6 +4532,12 @@ var PreCrime = class {
|
|
|
4532
4532
|
}
|
|
4533
4533
|
};
|
|
4534
4534
|
|
|
4535
|
+
// src/format/index.ts
|
|
4536
|
+
var format_exports = {};
|
|
4537
|
+
__export(format_exports, {
|
|
4538
|
+
rebuildCompileScriptBytecode: () => rebuildCompileScriptBytecode
|
|
4539
|
+
});
|
|
4540
|
+
|
|
4535
4541
|
// src/index.ts
|
|
4536
4542
|
var SDK = class {
|
|
4537
4543
|
stage;
|
|
@@ -4643,6 +4649,6 @@ var SDK = class {
|
|
|
4643
4649
|
}
|
|
4644
4650
|
};
|
|
4645
4651
|
|
|
4646
|
-
export { SDK, apps_exports as apps, constants_exports as constants, types_exports as types, uln_exports as uln, utils_exports as utils };
|
|
4652
|
+
export { SDK, apps_exports as apps, constants_exports as constants, format_exports as format, types_exports as types, uln_exports as uln, utils_exports as utils };
|
|
4647
4653
|
//# sourceMappingURL=out.js.map
|
|
4648
4654
|
//# sourceMappingURL=index.mjs.map
|