@dynamic-labs/types 5.6.0 → 5.7.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 +21 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +3 -3
- package/src/index.d.ts +1 -0
- package/src/sdkWebViewLoadState.d.ts +36 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
|
|
2
|
+
## [5.7.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.6.1...v5.7.0) (2026-09-08)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **social:** add gemini social provider ([#12292](https://github.com/dynamic-labs/dynamic-auth/issues/12292)) ([fa72cb0](https://github.com/dynamic-labs/dynamic-auth/commit/fa72cb09f678506a5f34188eb7d62415bcb7073b))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **locale:** add missing dyn_upgrade_wallet.no_legacy_wallets and .close keys ([#12350](https://github.com/dynamic-labs/dynamic-auth/issues/12350)) ([50da3fa](https://github.com/dynamic-labs/dynamic-auth/commit/50da3fa3078de4ecbd88031a3e533a4ff6ced89b))
|
|
13
|
+
* **sdk-react-core:** expose SDK i18next instance for extension packages ([#12351](https://github.com/dynamic-labs/dynamic-auth/issues/12351)) ([f3d95b1](https://github.com/dynamic-labs/dynamic-auth/commit/f3d95b1bb1c30114d32d93dec4e9c2455ab4fdbb))
|
|
14
|
+
* **sdk-react-core:** publish ./icons and ./components subpath exports ([#12334](https://github.com/dynamic-labs/dynamic-auth/issues/12334)) ([519487c](https://github.com/dynamic-labs/dynamic-auth/commit/519487cf5f4f7abe895a125c5bf38800cae04bb5))
|
|
15
|
+
|
|
16
|
+
### [5.6.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.6.0...v5.6.1) (2026-09-01)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* **sdk-react-core:** drop legacy-client dependency by moving SdkWebViewLoadState to types ([#12314](https://github.com/dynamic-labs/dynamic-auth/issues/12314)) ([8ae0110](https://github.com/dynamic-labs/dynamic-auth/commit/8ae011056604ec28de9daa5ab37c5ec2b6c378bb))
|
|
22
|
+
|
|
2
23
|
## [5.6.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.5.0...v5.6.0) (2026-09-01)
|
|
3
24
|
|
|
4
25
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/types",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.0",
|
|
4
4
|
"description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"./package.json": "./package.json"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.
|
|
22
|
-
"@dynamic-labs/assert-package-version": "5.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.32.0",
|
|
22
|
+
"@dynamic-labs/assert-package-version": "5.7.0"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {}
|
|
25
25
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Customer-facing lifecycle status of the webview load. This union is a
|
|
3
|
+
* stable contract: integrators may branch on these values.
|
|
4
|
+
*
|
|
5
|
+
* `waiting_to_retry` means the current attempt failed transiently and the
|
|
6
|
+
* next attempt is waiting out its backoff delay.
|
|
7
|
+
*/
|
|
8
|
+
export type SdkWebViewLoadStatus = 'idle' | 'loading' | 'waiting_to_retry' | 'ready' | 'failed';
|
|
9
|
+
/**
|
|
10
|
+
* Public projection of the webview load engine state, exposed as
|
|
11
|
+
* `client.sdk.loadState` and via the `loadStateChanged` event.
|
|
12
|
+
*/
|
|
13
|
+
export type SdkWebViewLoadState = {
|
|
14
|
+
/** Lifecycle status of the webview load. Stable contract. */
|
|
15
|
+
status: SdkWebViewLoadStatus;
|
|
16
|
+
/**
|
|
17
|
+
* The in-flight step of the current load attempt while `status` is
|
|
18
|
+
* `loading`. Diagnostic only — values may change between versions, so
|
|
19
|
+
* do not branch on them.
|
|
20
|
+
*/
|
|
21
|
+
phase: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* 1-based counter of load attempts within the current load cycle.
|
|
24
|
+
* `0` until a webview load controller has been registered.
|
|
25
|
+
*/
|
|
26
|
+
attempt: number;
|
|
27
|
+
/**
|
|
28
|
+
* Total load-attempt budget of a load cycle. `0` until a webview load
|
|
29
|
+
* controller has been registered.
|
|
30
|
+
*/
|
|
31
|
+
maxAttempts: number;
|
|
32
|
+
/** Wall-clock timestamp the pending retry is due at, else `null`. */
|
|
33
|
+
nextRetryAt: number | null;
|
|
34
|
+
/** Proxies the SDK initialization error (`client.sdk.error`). */
|
|
35
|
+
error: Error | null;
|
|
36
|
+
};
|