@gala-chain/launchpad-sdk 9.0.0-rc.6 → 9.0.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 +7 -0
- package/EXAMPLES.md +3 -3
- package/MIGRATING-TO-9.0.md +1 -1
- package/README.md +4 -4
- package/dist/constants/version.generated.d.ts +1 -1
- package/dist/constants/version.generated.d.ts.map +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
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0
|
|
4
|
+
|
|
5
|
+
The first stable 9.x release: the code is that of 9.0.0-rc.6, unchanged. It is published under the `latest`
|
|
6
|
+
dist-tag, so `npm install @gala-chain/launchpad-sdk` and the range `^9.0.0` resolve to it (8.1.0 was `latest`
|
|
7
|
+
before). The peer range on `@gala-chain/gala-core-sdk` is now `^1.0.0` (it was `>=1.0.0-rc.7 <2`). Moving
|
|
8
|
+
from 8.x: see `MIGRATING-TO-9.0.md`.
|
|
9
|
+
|
|
3
10
|
## 9.0.0-rc.6
|
|
4
11
|
|
|
5
12
|
Since 9.0.0-rc.5 (published). Core peer range is unchanged (`>=1.0.0-rc.7 <2`).
|
package/EXAMPLES.md
CHANGED
|
@@ -104,11 +104,11 @@ if (isGraduated) {
|
|
|
104
104
|
### Installation
|
|
105
105
|
|
|
106
106
|
```bash
|
|
107
|
-
npm install @gala-chain/launchpad-sdk
|
|
107
|
+
npm install @gala-chain/launchpad-sdk @gala-chain/gala-core-sdk zod
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
`@gala-chain/gala-core-sdk` and `zod` are peer dependencies. 9.0
|
|
111
|
-
|
|
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.
|
|
112
112
|
|
|
113
113
|
### Basic Setup
|
|
114
114
|
|
package/MIGRATING-TO-9.0.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Migrating from launchpad-sdk 8.1.0 to 9.0.0
|
|
1
|
+
# Migrating from launchpad-sdk 8.1.0 to 9.0.0
|
|
2
2
|
|
|
3
3
|
Generated by `scripts/generate-migration-doc.ts` from the built declarations of the published
|
|
4
4
|
`@gala-chain/launchpad-sdk@8.1.0` tarball and of this build (do not edit by hand).
|
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
|
|
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.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
pnpm add @gala-chain/launchpad-sdk
|
|
10
|
+
pnpm add @gala-chain/launchpad-sdk @gala-chain/gala-core-sdk @gala-chain/api axios bignumber.js ethers socket.io-client zod
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
|
|
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.
|
|
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
|
|
17
|
+
For the DEX, install `@gala-chain/gswap-sdk` 2.0 next to this package: `pnpm add @gala-chain/gswap-sdk`.
|
|
18
18
|
|
|
19
19
|
## Configure
|
|
20
20
|
|
|
@@ -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,
|
|
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"}
|