@terminal3/t3n-sdk 3.9.0 → 3.10.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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -103,10 +103,10 @@ const did = await client.authenticate(
|
|
|
103
103
|
|
|
104
104
|
The SDK targets the public T3n networks.
|
|
105
105
|
|
|
106
|
-
- `
|
|
106
|
+
- `sandbox` — the public test network, for integration and pre-production use.
|
|
107
107
|
- `production` — the public mainnet network.
|
|
108
108
|
|
|
109
|
-
Select the network with `setEnvironment("
|
|
109
|
+
Select the network with `setEnvironment("sandbox" | "production")` — this sets the
|
|
110
110
|
default node used by clients created afterwards. To target a specific node, pass an
|
|
111
111
|
explicit `baseUrl` to `new T3nClient({ baseUrl, … })`; `baseUrl` takes precedence over
|
|
112
112
|
the environment default.
|
package/dist/index.d.ts
CHANGED
|
@@ -2969,7 +2969,7 @@ declare function isObject(value: unknown): value is Record<string, unknown>;
|
|
|
2969
2969
|
*/
|
|
2970
2970
|
declare function assertShape<T>(value: unknown, guard: (v: unknown) => v is T, where: string): T;
|
|
2971
2971
|
|
|
2972
|
-
type Environment = "testnet" | "production";
|
|
2972
|
+
type Environment = "sandbox" | "testnet" | "production";
|
|
2973
2973
|
declare const NODE_URLS: Record<Environment, string>;
|
|
2974
2974
|
|
|
2975
2975
|
/**
|
|
@@ -3137,7 +3137,7 @@ declare function clearKeyCache(): void;
|
|
|
3137
3137
|
*/
|
|
3138
3138
|
declare function loadConfig(baseUrl?: string): SdkConfig;
|
|
3139
3139
|
|
|
3140
|
-
type TenantSdkEnvironment = "testnet" | "production";
|
|
3140
|
+
type TenantSdkEnvironment = "sandbox" | "testnet" | "production";
|
|
3141
3141
|
|
|
3142
3142
|
/**
|
|
3143
3143
|
* Minimal structural seam for the authenticated base client a TenantClient
|