@gala-chain/launchpad-sdk 9.0.0 → 9.1.0-beta.0

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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.1.0-beta.0
4
+
5
+ A beta: published under the `next` dist-tag (`latest` stays on 9.0.0). The peer range on
6
+ `@gala-chain/gala-core-sdk` is `>=1.1.0-beta.0 <2`: it needs the core that signs `dtoOperation`.
7
+
8
+ - **Bundler writes are signed with their `dtoOperation`** (`asset-channel_basic-asset_Launchpad:<Method>`), as
9
+ the chain now requires; the wrap / unwrap `RequestTokenBridgeOut` carries the bridge contract's. Token writes
10
+ get theirs from `gala-core-sdk`'s `GatewayWrites`.
11
+
3
12
  ## 9.0.0
4
13
 
5
14
  The first stable 9.x release: the code is that of 9.0.0-rc.6, unchanged. It is published under the `latest`
package/EXAMPLES.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Gala Launchpad SDK - Usage Examples
2
2
 
3
- Practical code examples for the launchpad SDK (9.0.0), organized by category. For complete API documentation, see [API Reference](./docs/API-REFERENCE.md).
3
+ Practical code examples for the launchpad SDK ({{docs.version}}), organized by category. For complete API documentation, see [API Reference](./docs/API-REFERENCE.md).
4
4
 
5
5
  > **9.0 is launchpad-only.** The DEX (quotes, swaps, pools, liquidity, fees, market prices, leaderboards) is
6
6
  > `@gala-chain/gswap-sdk`; its runnable demos are in
@@ -104,11 +104,11 @@ if (isGraduated) {
104
104
  ### Installation
105
105
 
106
106
  ```bash
107
- npm install @gala-chain/launchpad-sdk @gala-chain/gala-core-sdk zod
107
+ npm install @gala-chain/launchpad-sdk@next @gala-chain/gala-core-sdk@next zod
108
108
  ```
109
109
 
110
- `@gala-chain/gala-core-sdk` and `zod` are peer dependencies. `latest` is 9.0.0, so a
111
- plain install gets it and `^9.0.0` works.
110
+ `@gala-chain/gala-core-sdk` and `zod` are peer dependencies. `latest` is {{docs.version}}, so a
111
+ plain install gets it and a range on the major (`^9`) works.
112
112
 
113
113
  ### Basic Setup
114
114
 
package/README.md CHANGED
@@ -2,19 +2,19 @@
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 9.0.0). 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.
5
+ The TypeScript SDK for Gala Launchpad (9.0; `latest` is <!-- docs:var version -->9.1.0-beta.0<!-- /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
 
9
9
  ```bash
10
- pnpm add @gala-chain/launchpad-sdk @gala-chain/gala-core-sdk @gala-chain/api axios bignumber.js ethers socket.io-client zod
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 9.0.0, and a range such as `^9.0.0` works. Pin the exact versions in an app build.
13
+ A plain install gets <!-- docs:var version -->9.1.0-beta.0<!-- /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
 
17
- For the DEX, install `@gala-chain/gswap-sdk` 2.0 next to this package: `pnpm add @gala-chain/gswap-sdk`.
17
+ For the DEX, install `@gala-chain/gswap-sdk` 2.0 next to this package: `pnpm add @gala-chain/gswap-sdk@next`.
18
18
 
19
19
  ## Configure
20
20
 
@@ -3,5 +3,5 @@
3
3
  * This file is generated by scripts/inject-version.ts during build.
4
4
  * DO NOT EDIT MANUALLY.
5
5
  */
6
- export declare const SDK_VERSION = "9.0.0";
6
+ export declare const SDK_VERSION = "9.1.0-beta.0";
7
7
  //# sourceMappingURL=version.generated.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.generated.d.ts","sourceRoot":"","sources":["../../src/constants/version.generated.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,WAAW,UAAU,CAAC"}
1
+ {"version":3,"file":"version.generated.d.ts","sourceRoot":"","sources":["../../src/constants/version.generated.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,WAAW,iBAAiB,CAAC"}