@injectivelabs/wallet-turnkey 1.19.0 → 1.19.1

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.
@@ -331,7 +331,7 @@ var TurnkeyWallet = class {
331
331
  if ((_session$session = session.session) === null || _session$session === void 0 ? void 0 : _session$session.token) {
332
332
  await indexedDbClient.refreshSession({
333
333
  sessionType: __turnkey_sdk_browser.SessionType.READ_WRITE,
334
- expirationSeconds: this.metadata.expirationSeconds
334
+ expirationSeconds: this.metadata.expirationSeconds || DEFAULT_TURNKEY_REFRESH_SECONDS
335
335
  });
336
336
  this.userOrganizationId = session.organizationId;
337
337
  return session.session.token;
package/dist/esm/index.js CHANGED
@@ -331,7 +331,7 @@ var TurnkeyWallet = class {
331
331
  if ((_session$session = session.session) === null || _session$session === void 0 ? void 0 : _session$session.token) {
332
332
  await indexedDbClient.refreshSession({
333
333
  sessionType: SessionType.READ_WRITE,
334
- expirationSeconds: this.metadata.expirationSeconds
334
+ expirationSeconds: this.metadata.expirationSeconds || DEFAULT_TURNKEY_REFRESH_SECONDS
335
335
  });
336
336
  this.userOrganizationId = session.organizationId;
337
337
  return session.session.token;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@injectivelabs/wallet-turnkey",
3
- "version": "1.19.0",
3
+ "version": "1.19.1",
4
4
  "description": "Turnkey wallet strategy for use with @injectivelabs/wallet-core.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -45,11 +45,11 @@
45
45
  "@turnkey/sdk-browser": "5.2.3",
46
46
  "@turnkey/viem": "0.9.10",
47
47
  "viem": "^2.41.2",
48
- "@injectivelabs/exceptions": "1.19.0",
49
- "@injectivelabs/sdk-ts": "1.19.0",
50
- "@injectivelabs/wallet-base": "1.19.0",
51
- "@injectivelabs/utils": "1.19.0",
52
- "@injectivelabs/ts-types": "1.19.0"
48
+ "@injectivelabs/exceptions": "1.19.1",
49
+ "@injectivelabs/ts-types": "1.19.1",
50
+ "@injectivelabs/sdk-ts": "1.19.1",
51
+ "@injectivelabs/utils": "1.19.1",
52
+ "@injectivelabs/wallet-base": "1.19.1"
53
53
  },
54
54
  "publishConfig": {
55
55
  "access": "public"