@gala-chain/launchpad-sdk 9.1.0-beta.2 → 9.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/CHANGELOG.md +22 -1
- package/README.md +2 -2
- package/dist/constants/version.generated.d.ts +1 -1
- package/dist/index.browser.esm.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/native.cjs +1 -1
- package/dist/native.esm.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,27 @@
|
|
|
5
5
|
Docs only: the signing pages and the agent guide describe `dtoOperation`. No code change since
|
|
6
6
|
9.1.0-beta.0.
|
|
7
7
|
|
|
8
|
+
## 9.1.0-beta.4
|
|
9
|
+
|
|
10
|
+
A beta: published under the `next` dist-tag (`latest` stays on 9.0.0). The peer range on
|
|
11
|
+
`@gala-chain/gala-core-sdk` is `>=1.1.0-beta.4 <2`: it needs the core whose wrap / unwrap request has no `wrap` field.
|
|
12
|
+
|
|
13
|
+
- **FIX: `wrapToken` / `unwrapToken` (through gala-core-sdk's `WrapService`) no longer send `wrap: true` in the
|
|
14
|
+
`RequestTokenBridgeOut`.** Stage refused it ("property wrap should not exist"): the contract's DTO has no such field.
|
|
15
|
+
The recorded wrap / unwrap goldens were regenerated on purpose. The bridge strings seen live on stage are in
|
|
16
|
+
gala-core-sdk's CHANGELOG (1.1.0-beta.4).
|
|
17
|
+
|
|
18
|
+
## 9.1.0-beta.3
|
|
19
|
+
|
|
20
|
+
A beta: published under the `next` dist-tag (`latest` stays on 9.0.0). The peer range on
|
|
21
|
+
`@gala-chain/gala-core-sdk` is `>=1.1.0-beta.3 <2`: it needs the core whose bridge-out signs the token contract's operation.
|
|
22
|
+
|
|
23
|
+
- **FIX: a `RequestTokenBridgeOut` (the bridge-out and the wrap / unwrap, through gala-core-sdk) signs
|
|
24
|
+
`asset-channel_basic-asset_GalaChainToken:RequestTokenBridgeOut`.** The earlier betas signed the bridge contract's
|
|
25
|
+
and stage refused it ("signed to call ...BridgeContract:RequestTokenBridgeOut, but the current operation is
|
|
26
|
+
asset-channel_basic-asset_GalaChainToken:RequestTokenBridgeOut"). `BridgeTokenOut` was then unverified (see 9.1.0-beta.4). The recorded
|
|
27
|
+
bridge goldens were regenerated on purpose (the operation, the signature and the typed data's length differ).
|
|
28
|
+
|
|
8
29
|
## 9.1.0-beta.2
|
|
9
30
|
|
|
10
31
|
A beta: published under the `next` dist-tag (`latest` stays on 9.0.0). The peer range on
|
|
@@ -35,7 +56,7 @@ A beta: published under the `next` dist-tag (`latest` stays on 9.0.0). The peer
|
|
|
35
56
|
`@gala-chain/gala-core-sdk` is `>=1.1.0-beta.0 <2`: it needs the core that signs `dtoOperation`.
|
|
36
57
|
|
|
37
58
|
- **Bundler writes are signed with their `dtoOperation`**, as the chain now requires; the wrap / unwrap
|
|
38
|
-
`RequestTokenBridgeOut`
|
|
59
|
+
`RequestTokenBridgeOut` carried the bridge contract's (wrong: see 9.1.0-beta.3). Token writes get theirs from `gala-core-sdk`'s
|
|
39
60
|
`GatewayWrites`. (The bundled operation was wrong in this beta; see 9.1.0-beta.2.)
|
|
40
61
|
|
|
41
62
|
## 9.0.0
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
The SDK signs with `@gala-chain/api` and `ethers`; it does not depend on `@gala-chain/connect`.
|
|
4
4
|
|
|
5
|
-
The TypeScript SDK for Gala Launchpad (9.0; `latest` is <!-- docs:var version -->9.1.0-beta.
|
|
5
|
+
The TypeScript SDK for Gala Launchpad (9.0; `latest` is <!-- docs:var version -->9.1.0-beta.4<!-- /docs:var -->). It provides read APIs for launchpad data, typed launchpad submissions and gateway-backed token transactions. Version 9.0 is launchpad-only: the DEX is a separate SDK, `@gala-chain/gswap-sdk` (this package has no DEX client and does not depend on it), and the gateway-generic pieces (signers, wallet helpers and providers, React hooks, the bridge) are `@gala-chain/gala-core-sdk`'s. See [MIGRATING-TO-9.0.md](./MIGRATING-TO-9.0.md) for every removed export and where it went.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ The TypeScript SDK for Gala Launchpad (9.0; `latest` is <!-- docs:var version --
|
|
|
10
10
|
pnpm add @gala-chain/launchpad-sdk@next @gala-chain/gala-core-sdk@next @gala-chain/api axios bignumber.js ethers socket.io-client zod
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
A plain install gets <!-- docs:var version -->9.1.0-beta.
|
|
13
|
+
A plain install gets <!-- docs:var version -->9.1.0-beta.4<!-- /docs:var -->, and a range on the major (`^9`) works. Pin the exact versions in an app build.
|
|
14
14
|
|
|
15
15
|
`@gala-chain/gala-core-sdk` and the others are peer dependencies: install them next to this package. An app that bridges or wraps tokens installs the bridge's own peers (`ethers`, `@solana/web3.js`, `@solana/spl-token`) and hands the bridge module to the SDK: `new LaunchpadSDK({ ..., bridge: () => import('@gala-chain/gala-core-sdk/bridge') })` (loaded at the first bridge or wrap call). This package never loads that module or Solana itself, so an app that does not bridge bundles and installs neither; without the loader the bridge and wrap methods throw a `ConfigurationError` naming the `bridge` option.
|
|
16
16
|
|