@0xsequence/dapp-client 3.0.0-beta.2 → 3.0.0-beta.3
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +11 -0
- package/dist/ChainSessionManager.js +1 -1
- package/package.json +14 -14
- package/src/ChainSessionManager.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @0xsequence/dapp-client
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3.0.0-beta.3 with fixes
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @0xsequence/guard@3.0.0-beta.3
|
|
10
|
+
- @0xsequence/relayer@3.0.0-beta.3
|
|
11
|
+
- @0xsequence/wallet-core@3.0.0-beta.3
|
|
12
|
+
- @0xsequence/wallet-primitives@3.0.0-beta.3
|
|
13
|
+
|
|
3
14
|
## 3.0.0-beta.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -354,7 +354,7 @@ export class ChainSessionManager {
|
|
|
354
354
|
const { userEmail, loginMethod, guard } = connectResponse;
|
|
355
355
|
const savedRequest = await this.sequenceStorage.peekPendingRequest();
|
|
356
356
|
const savedPayload = savedRequest?.payload;
|
|
357
|
-
const explicitSessionRequested =
|
|
357
|
+
const explicitSessionRequested = (savedPayload?.session?.permissions?.length ?? 0) > 0;
|
|
358
358
|
const implicitSessionRequested = savedPayload?.includeImplicitSession ?? false;
|
|
359
359
|
const needsTempPk = explicitSessionRequested || implicitSessionRequested;
|
|
360
360
|
const tempPk = needsTempPk ? await this.sequenceStorage.getAndClearTempSessionPk() : null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xsequence/dapp-client",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -14,21 +14,21 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@types/node": "^
|
|
18
|
-
"@vitest/coverage-v8": "^
|
|
19
|
-
"dotenv": "^
|
|
20
|
-
"fake-indexeddb": "^6.
|
|
21
|
-
"happy-dom": "^
|
|
22
|
-
"typescript": "^5.
|
|
23
|
-
"vitest": "^
|
|
24
|
-
"@repo/typescript-config": "^0.0.0"
|
|
17
|
+
"@types/node": "^24.10.1",
|
|
18
|
+
"@vitest/coverage-v8": "^4.0.14",
|
|
19
|
+
"dotenv": "^17.2.3",
|
|
20
|
+
"fake-indexeddb": "^6.2.5",
|
|
21
|
+
"happy-dom": "^20.0.10",
|
|
22
|
+
"typescript": "^5.9.3",
|
|
23
|
+
"vitest": "^4.0.14",
|
|
24
|
+
"@repo/typescript-config": "^0.0.1-beta.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"ox": "^0.
|
|
28
|
-
"@0xsequence/
|
|
29
|
-
"@0xsequence/wallet-core": "^3.0.0-beta.
|
|
30
|
-
"@0xsequence/
|
|
31
|
-
"@0xsequence/wallet-primitives": "^3.0.0-beta.
|
|
27
|
+
"ox": "^0.9.17",
|
|
28
|
+
"@0xsequence/relayer": "^3.0.0-beta.3",
|
|
29
|
+
"@0xsequence/wallet-core": "^3.0.0-beta.3",
|
|
30
|
+
"@0xsequence/guard": "^3.0.0-beta.3",
|
|
31
|
+
"@0xsequence/wallet-primitives": "^3.0.0-beta.3"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "tsc",
|
|
@@ -538,7 +538,7 @@ export class ChainSessionManager {
|
|
|
538
538
|
const { userEmail, loginMethod, guard } = connectResponse
|
|
539
539
|
const savedRequest = await this.sequenceStorage.peekPendingRequest()
|
|
540
540
|
const savedPayload = savedRequest?.payload as CreateNewSessionPayload | undefined
|
|
541
|
-
const explicitSessionRequested =
|
|
541
|
+
const explicitSessionRequested = (savedPayload?.session?.permissions?.length ?? 0) > 0
|
|
542
542
|
const implicitSessionRequested = savedPayload?.includeImplicitSession ?? false
|
|
543
543
|
const needsTempPk = explicitSessionRequested || implicitSessionRequested
|
|
544
544
|
const tempPk = needsTempPk ? await this.sequenceStorage.getAndClearTempSessionPk() : null
|