@dynamic-labs/tempo 4.74.1 → 4.76.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 +9 -9
- package/src/connectors/TempoWalletConnector/TempoWalletConnector.cjs +6 -0
- package/src/connectors/TempoWalletConnector/TempoWalletConnector.d.ts +2 -0
- package/src/connectors/TempoWalletConnector/TempoWalletConnector.js +6 -0
- package/src/index.cjs +5 -2
- package/src/index.d.ts +1 -1
- package/src/index.js +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.76.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.75.0...v4.76.0) (2026-04-06)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* handle credential_not_enabled_for_sign_in error across all sign-in methods ([#10819](https://github.com/dynamic-labs/dynamic-auth/issues/10819)) ([f694b85](https://github.com/dynamic-labs/dynamic-auth/commit/f694b857eab9d377626078d290473ca369652331))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* modal transition race condition (opacity stuck at 0) ([#10857](https://github.com/dynamic-labs/dynamic-auth/issues/10857)) ([6e9ec68](https://github.com/dynamic-labs/dynamic-auth/commit/6e9ec68040776cc5be333ad20ad0096374947b74))
|
|
13
|
+
* **react-native:** ensure session is correctly mapped ([#10860](https://github.com/dynamic-labs/dynamic-auth/issues/10860)) ([117b013](https://github.com/dynamic-labs/dynamic-auth/commit/117b013faf9a0d4bc6b8429a36d8e88dba546889))
|
|
14
|
+
|
|
15
|
+
## [4.75.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.74.1...v4.75.0) (2026-04-03)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **midnight:** add midnight base package scaffolding ([#10850](https://github.com/dynamic-labs/dynamic-auth/issues/10850)) ([5844849](https://github.com/dynamic-labs/dynamic-auth/commit/584484916cf49d7ec46ec5cf862e2e6b8308d90f))
|
|
21
|
+
* **tempo:** add FeeTokenSelector component for fee token selection ([#10842](https://github.com/dynamic-labs/dynamic-auth/issues/10842)) ([18bc637](https://github.com/dynamic-labs/dynamic-auth/commit/18bc6374bea6eeff6656edaa725b0620bc8b36dd))
|
|
22
|
+
|
|
2
23
|
### [4.74.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.74.0...v4.74.1) (2026-04-02)
|
|
3
24
|
|
|
4
25
|
This was a version bump only, there were no code changes.
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/tempo",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.76.0",
|
|
4
4
|
"description": "A React SDK for implementing Tempo wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
22
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
23
|
-
"@dynamic-labs/ethereum-core": "4.
|
|
24
|
-
"@dynamic-labs/waas": "4.
|
|
25
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
26
|
-
"@dynamic-labs/logger": "4.
|
|
27
|
-
"@dynamic-labs/types": "4.
|
|
28
|
-
"@dynamic-labs/utils": "4.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.923",
|
|
22
|
+
"@dynamic-labs/wallet-connector-core": "4.76.0",
|
|
23
|
+
"@dynamic-labs/ethereum-core": "4.76.0",
|
|
24
|
+
"@dynamic-labs/waas": "4.76.0",
|
|
25
|
+
"@dynamic-labs/assert-package-version": "4.76.0",
|
|
26
|
+
"@dynamic-labs/logger": "4.76.0",
|
|
27
|
+
"@dynamic-labs/types": "4.76.0",
|
|
28
|
+
"@dynamic-labs/utils": "4.76.0",
|
|
29
29
|
"viem": "^2.45.3"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -13,6 +13,12 @@ var ethereumCore = require('@dynamic-labs/ethereum-core');
|
|
|
13
13
|
* Uses tempoNetworks instead of evmNetworks for proper network display.
|
|
14
14
|
*/
|
|
15
15
|
class TempoWalletConnector extends ethereumCore.EthereumWalletConnector {
|
|
16
|
+
get hasNativeToken() {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
get supportsFeeTokenSelection() {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
16
22
|
constructor(props) {
|
|
17
23
|
// Pass tempoNetworks as evmNetworks to parent since EthereumWalletConnector expects evmNetworks
|
|
18
24
|
super(Object.assign(Object.assign({}, props), { evmNetworks: props.tempoNetworks }));
|
|
@@ -13,6 +13,8 @@ export type TempoWalletConnectorOpts = Omit<EthereumWalletConnectorOpts, 'evmNet
|
|
|
13
13
|
export declare abstract class TempoWalletConnector extends EthereumWalletConnector {
|
|
14
14
|
supportedChains: Chain[];
|
|
15
15
|
connectedChain: Chain;
|
|
16
|
+
get hasNativeToken(): boolean;
|
|
17
|
+
get supportsFeeTokenSelection(): boolean;
|
|
16
18
|
constructor(props: TempoWalletConnectorOpts);
|
|
17
19
|
/**
|
|
18
20
|
* Override getBalance to return '0' for Tempo networks.
|
|
@@ -9,6 +9,12 @@ import { EthereumWalletConnector } from '@dynamic-labs/ethereum-core';
|
|
|
9
9
|
* Uses tempoNetworks instead of evmNetworks for proper network display.
|
|
10
10
|
*/
|
|
11
11
|
class TempoWalletConnector extends EthereumWalletConnector {
|
|
12
|
+
get hasNativeToken() {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
get supportsFeeTokenSelection() {
|
|
16
|
+
return true;
|
|
17
|
+
}
|
|
12
18
|
constructor(props) {
|
|
13
19
|
// Pass tempoNetworks as evmNetworks to parent since EthereumWalletConnector expects evmNetworks
|
|
14
20
|
super(Object.assign(Object.assign({}, props), { evmNetworks: props.tempoNetworks }));
|
package/src/index.cjs
CHANGED
|
@@ -12,8 +12,11 @@ var isTempoWallet = require('./wallet/isTempoWallet/isTempoWallet.cjs');
|
|
|
12
12
|
var DynamicWaasTempoConnector = require('./connectors/DynamicWaasTempoConnector/DynamicWaasTempoConnector.cjs');
|
|
13
13
|
|
|
14
14
|
assertPackageVersion.assertPackageVersion('@dynamic-labs/tempo', _package.version);
|
|
15
|
-
// Wallet connector factory -
|
|
16
|
-
|
|
15
|
+
// Wallet connector factory - only embedded wallet connector
|
|
16
|
+
// External wallets use EthereumWalletConnectors with Tempo networks added to evmNetworks
|
|
17
|
+
const TempoWalletConnectors = (
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
19
|
+
props) => [
|
|
17
20
|
DynamicWaasTempoConnector.DynamicWaasTempoConnector,
|
|
18
21
|
];
|
|
19
22
|
|
package/src/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import { WalletConnectorConstructor } from '@dynamic-labs/wallet-connector-core'
|
|
|
2
2
|
export { TempoWalletConnector } from './connectors/TempoWalletConnector';
|
|
3
3
|
export type { TempoWalletConnectorOpts } from './connectors/TempoWalletConnector';
|
|
4
4
|
export { TempoWallet, isTempoWallet } from './wallet';
|
|
5
|
-
export declare const TempoWalletConnectors: () => WalletConnectorConstructor[];
|
|
5
|
+
export declare const TempoWalletConnectors: (props: any) => WalletConnectorConstructor[];
|
|
6
6
|
export { DynamicWaasTempoConnector, DynamicWaasTempoConnectors, } from './connectors/DynamicWaasTempoConnector';
|
package/src/index.js
CHANGED
|
@@ -9,8 +9,11 @@ import { DynamicWaasTempoConnector } from './connectors/DynamicWaasTempoConnecto
|
|
|
9
9
|
export { DynamicWaasTempoConnector } from './connectors/DynamicWaasTempoConnector/DynamicWaasTempoConnector.js';
|
|
10
10
|
|
|
11
11
|
assertPackageVersion('@dynamic-labs/tempo', version);
|
|
12
|
-
// Wallet connector factory -
|
|
13
|
-
|
|
12
|
+
// Wallet connector factory - only embedded wallet connector
|
|
13
|
+
// External wallets use EthereumWalletConnectors with Tempo networks added to evmNetworks
|
|
14
|
+
const TempoWalletConnectors = (
|
|
15
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
16
|
+
props) => [
|
|
14
17
|
DynamicWaasTempoConnector,
|
|
15
18
|
];
|
|
16
19
|
|