@usearete/sdk 0.8.2 → 0.9.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/README.md +10 -8
- package/dist/index.cjs +400 -376
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +16 -2
- package/dist/index.esm.js +400 -376
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,9 +113,11 @@ overrides, and never infer Program Read endpoints from their members.
|
|
|
113
113
|
|
|
114
114
|
### Hosted Solana Gateway Transports
|
|
115
115
|
|
|
116
|
-
Hosted
|
|
117
|
-
`transactions` gateway bindings.
|
|
118
|
-
|
|
116
|
+
Hosted stack and program installs embed complete, independent `chain` and
|
|
117
|
+
`transactions` gateway bindings. `Arete.connect`, standalone program sessions,
|
|
118
|
+
and generated composition sessions select those authenticated transports by
|
|
119
|
+
default instead of using a LiveSpec query endpoint. Explicit transports always
|
|
120
|
+
remain available as overrides:
|
|
119
121
|
|
|
120
122
|
```ts
|
|
121
123
|
import { createHostedSolanaGatewayTransports } from '@usearete/sdk';
|
|
@@ -139,11 +141,11 @@ replayed only when the gateway explicitly reports that upstream dispatch did
|
|
|
139
141
|
not begin. Chain and transaction descriptors may intentionally share the same
|
|
140
142
|
endpoint and binding ID.
|
|
141
143
|
|
|
142
|
-
Generated hosted compositions additionally
|
|
143
|
-
`create<StackName>HostedSession(options)
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
and `transactions` transports.
|
|
144
|
+
Generated hosted compositions additionally retain
|
|
145
|
+
`create<StackName>HostedSession(options)` as an explicit convenience helper.
|
|
146
|
+
The ordinary `create<StackName>Session(options)` now uses the embedded gateway
|
|
147
|
+
too. Local/self-hosted compositions carry no gateway descriptor and continue to
|
|
148
|
+
require caller-supplied `chain` and `transactions` transports.
|
|
147
149
|
|
|
148
150
|
### Raw Instructions
|
|
149
151
|
|