@lit-protocol/vincent-app-sdk 2.2.4 → 2.5.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 +16 -0
- package/dist/package.json +1 -1
- package/dist/src/abilityClient/execute/generateVincentAbilitySessionSigs.d.ts.map +1 -1
- package/dist/src/abilityClient/execute/generateVincentAbilitySessionSigs.js +5 -0
- package/dist/src/abilityClient/execute/generateVincentAbilitySessionSigs.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## 2.5.0 (2025-11-23)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- #### Add support for Vincent Wrapped Keys ([529ce1ad](https://github.com/LIT-Protocol/Vincent/commit/529ce1ad))
|
|
6
|
+
- Updated internal sessionSig creation so that the `resourceAbilityRequests` includes the ability to decrypt access-control-condition restricted resources
|
|
7
|
+
|
|
8
|
+
### 🧱 Updated Dependencies
|
|
9
|
+
|
|
10
|
+
- Updated ability-sdk to 2.3.4
|
|
11
|
+
- Updated contracts-sdk to 5.0.0
|
|
12
|
+
|
|
13
|
+
### ❤️ Thank You
|
|
14
|
+
|
|
15
|
+
- Daryl Collins
|
|
16
|
+
|
|
1
17
|
## 2.2.4 (2025-11-06)
|
|
2
18
|
|
|
3
19
|
### 🩹 Fixes
|
package/dist/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateVincentAbilitySessionSigs.d.ts","sourceRoot":"","sources":["../../../../src/abilityClient/execute/generateVincentAbilitySessionSigs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"generateVincentAbilitySessionSigs.d.ts","sourceRoot":"","sources":["../../../../src/abilityClient/execute/generateVincentAbilitySessionSigs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAWnE,cAAc;AACd,eAAO,MAAM,iCAAiC,GAAU,kCAGrD;IACD,aAAa,EAAE,aAAa,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC;CAC7B,0DA8BA,CAAC"}
|
|
@@ -11,6 +11,11 @@ const generateVincentAbilitySessionSigs = async ({ litNodeClient, ethersSigner,
|
|
|
11
11
|
resourceAbilityRequests: [
|
|
12
12
|
{ resource: new auth_helpers_1.LitPKPResource('*'), ability: constants_1.LIT_ABILITY.PKPSigning },
|
|
13
13
|
{ resource: new auth_helpers_1.LitActionResource('*'), ability: constants_1.LIT_ABILITY.LitActionExecution },
|
|
14
|
+
// This is required for abilities that use Vincent Wrapped Keys to be able to decrypt the previously encrypted wrapped key
|
|
15
|
+
{
|
|
16
|
+
resource: new auth_helpers_1.LitAccessControlConditionResource('*'),
|
|
17
|
+
ability: constants_1.LIT_ABILITY.AccessControlConditionDecryption,
|
|
18
|
+
},
|
|
14
19
|
],
|
|
15
20
|
authNeededCallback: async ({ resourceAbilityRequests, uri }) => {
|
|
16
21
|
const [walletAddress, nonce] = await Promise.all([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateVincentAbilitySessionSigs.js","sourceRoot":"","sources":["../../../../src/abilityClient/execute/generateVincentAbilitySessionSigs.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAMjE,
|
|
1
|
+
{"version":3,"file":"generateVincentAbilitySessionSigs.js","sourceRoot":"","sources":["../../../../src/abilityClient/execute/generateVincentAbilitySessionSigs.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAMjE,6DAMoC;AACpC,uDAAsD;AAEtD,cAAc;AACP,MAAM,iCAAiC,GAAG,KAAK,EAAE,EACtD,aA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it-protocol/vincent-app-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Vincent SDK for browser and backend",
|
|
5
5
|
"author": "Lit Protocol",
|
|
6
6
|
"license": "ISC",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"ethers": "5.8.0",
|
|
59
59
|
"tslib": "^2.8.1",
|
|
60
60
|
"zod": "3.25.64",
|
|
61
|
-
"@lit-protocol/vincent-ability-sdk": "2.3.
|
|
62
|
-
"@lit-protocol/vincent-contracts-sdk": "
|
|
61
|
+
"@lit-protocol/vincent-ability-sdk": "2.3.4",
|
|
62
|
+
"@lit-protocol/vincent-contracts-sdk": "5.0.0"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"react": "^19.0.0"
|