@gala-chain/gala-core-sdk 1.1.0-beta.3 → 1.1.0-beta.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/README.md +9 -4
- package/dist/bridge.cjs +3 -3
- package/dist/bridge.cjs.map +1 -1
- package/dist/bridge.mjs +3 -3
- package/dist/bridge.mjs.map +1 -1
- package/dist/browser/bridge.js +1 -1
- package/dist/browser/bridge.js.map +1 -1
- package/dist/browser/utils/dto_operation.js.map +1 -1
- package/dist/browser/utils/transport.js +1 -1
- package/dist/browser/version.js +1 -1
- package/dist/browser/version.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/bridge.mjs
CHANGED
|
@@ -2198,8 +2198,9 @@ const BRIDGE_OUT_METHOD = "RequestTokenBridgeOut";
|
|
|
2198
2198
|
* (`asset-channel_basic-asset_GalaChainToken:RequestTokenBridgeOut`). Verified on stage (2026-11-02): the
|
|
2199
2199
|
* chain refuses `...BridgeContract:RequestTokenBridgeOut` ("signed to call ...BridgeContract:RequestTokenBridgeOut,
|
|
2200
2200
|
* but the current operation is asset-channel_basic-asset_GalaChainToken:RequestTokenBridgeOut") and accepts this one.
|
|
2201
|
-
* The table's `asset/bridge-contract` entry is
|
|
2202
|
-
*
|
|
2201
|
+
* The table's `asset/bridge-contract` entry is right for `BridgeTokenOut` (seen live on stage:
|
|
2202
|
+
* `asset-channel_bridge-chaincode_BridgeContract:BridgeTokenOut`, signed by GalaConnect, not by this SDK), and the grants
|
|
2203
|
+
* embedded in it sign `asset-channel_bridge-chaincode_GalaChainToken:GrantAllowance`, which the table lacks.
|
|
2203
2204
|
*/
|
|
2204
2205
|
const BRIDGE_OUT_CONTRACT_PATH = "asset/token-contract";
|
|
2205
2206
|
/**
|
|
@@ -4752,7 +4753,6 @@ var WrapService = class {
|
|
|
4752
4753
|
},
|
|
4753
4754
|
destinationChainId: routing.destinationChannelId,
|
|
4754
4755
|
recipient,
|
|
4755
|
-
wrap: true,
|
|
4756
4756
|
uniqueKey
|
|
4757
4757
|
};
|
|
4758
4758
|
const requestBody = await signPreSend(this.signer, BRIDGE_OUT_CONTRACT_PATH, "RequestTokenBridgeOut", message);
|