@folks-finance/xchain-sdk 0.0.59 → 0.0.60
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/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -15,13 +15,14 @@ export * from "./common/constants/gmp.js";
|
|
|
15
15
|
export * from "./common/constants/message.js";
|
|
16
16
|
export { getSupportedMessageAdapters } from "./common/utils/adapter.js";
|
|
17
17
|
export { convertFromGenericAddress, convertToGenericAddress } from "./common/utils/address.js";
|
|
18
|
-
export {
|
|
18
|
+
export { getRandomBytes } from "./common/utils/bytes.js";
|
|
19
19
|
export { getAdapterAddress } from "./common/utils/chain.js";
|
|
20
20
|
export { toFAmount, toUnderlyingAmount, calcAssetDollarValue } from "./common/utils/formulae.js";
|
|
21
21
|
export { getCcipData, getWormholeData } from "./common/utils/gmp.js";
|
|
22
|
+
export { buildAccountId, buildLoanId } from "./common/utils/lending.js";
|
|
22
23
|
export { getOperationIdsByTransaction, waitOperationIds } from "./common/utils/messages.js";
|
|
24
|
+
export { isCrossChainToken } from "./common/utils/token.js";
|
|
23
25
|
export { waitTransaction } from "./common/utils/transaction.js";
|
|
24
|
-
export { getRandomBytes } from "./common/utils/bytes.js";
|
|
25
26
|
export { isHubChain } from "./chains/evm/hub/utils/chain.js";
|
|
26
27
|
export { HUB_CHAIN } from "./chains/evm/hub/constants/chain.js";
|
|
27
28
|
export * from "./chains/evm/common/constants/chain.js";
|
package/dist/index.js
CHANGED
|
@@ -18,13 +18,14 @@ export * from "./common/constants/gmp.js";
|
|
|
18
18
|
export * from "./common/constants/message.js";
|
|
19
19
|
export { getSupportedMessageAdapters } from "./common/utils/adapter.js";
|
|
20
20
|
export { convertFromGenericAddress, convertToGenericAddress } from "./common/utils/address.js";
|
|
21
|
-
export {
|
|
21
|
+
export { getRandomBytes } from "./common/utils/bytes.js";
|
|
22
22
|
export { getAdapterAddress } from "./common/utils/chain.js";
|
|
23
23
|
export { toFAmount, toUnderlyingAmount, calcAssetDollarValue } from "./common/utils/formulae.js";
|
|
24
24
|
export { getCcipData, getWormholeData } from "./common/utils/gmp.js";
|
|
25
|
+
export { buildAccountId, buildLoanId } from "./common/utils/lending.js";
|
|
25
26
|
export { getOperationIdsByTransaction, waitOperationIds } from "./common/utils/messages.js";
|
|
27
|
+
export { isCrossChainToken } from "./common/utils/token.js";
|
|
26
28
|
export { waitTransaction } from "./common/utils/transaction.js";
|
|
27
|
-
export { getRandomBytes } from "./common/utils/bytes.js";
|
|
28
29
|
// === HUB ===
|
|
29
30
|
export { isHubChain } from "./chains/evm/hub/utils/chain.js";
|
|
30
31
|
export { HUB_CHAIN } from "./chains/evm/hub/constants/chain.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,kBAAkB;AAClB,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEpH,iBAAiB;AACjB,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AAExC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAE9C,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2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AAC5F,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,cAAc;AACd,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAEhE,iBAAiB;AAEjB,QAAQ;AACR,cAAc,wCAAwC,CAAC;AAEvD,cAAc,oCAAoC,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAElE,aAAa;AACb,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAEhD,eAAe;AACf,cAAc,kCAAkC,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -22,13 +22,14 @@ export * from "./common/constants/message.js";
|
|
|
22
22
|
|
|
23
23
|
export { getSupportedMessageAdapters } from "./common/utils/adapter.js";
|
|
24
24
|
export { convertFromGenericAddress, convertToGenericAddress } from "./common/utils/address.js";
|
|
25
|
-
export {
|
|
25
|
+
export { getRandomBytes } from "./common/utils/bytes.js";
|
|
26
26
|
export { getAdapterAddress } from "./common/utils/chain.js";
|
|
27
27
|
export { toFAmount, toUnderlyingAmount, calcAssetDollarValue } from "./common/utils/formulae.js";
|
|
28
28
|
export { getCcipData, getWormholeData } from "./common/utils/gmp.js";
|
|
29
|
+
export { buildAccountId, buildLoanId } from "./common/utils/lending.js";
|
|
29
30
|
export { getOperationIdsByTransaction, waitOperationIds } from "./common/utils/messages.js";
|
|
31
|
+
export { isCrossChainToken } from "./common/utils/token.js";
|
|
30
32
|
export { waitTransaction } from "./common/utils/transaction.js";
|
|
31
|
-
export { getRandomBytes } from "./common/utils/bytes.js";
|
|
32
33
|
|
|
33
34
|
// === HUB ===
|
|
34
35
|
export { isHubChain } from "./chains/evm/hub/utils/chain.js";
|