@velocitycareerlabs/vcl-react-native 2.7.1 → 2.7.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.
@@ -92,9 +92,9 @@ dependencies {
92
92
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
93
93
 
94
94
  //--------- Must: be added:
95
- implementation "io.velocitycareerlabs:vcl:2.7.1"
95
+ implementation "io.velocitycareerlabs:vcl:2.7.3"
96
96
  implementation 'com.nimbusds:nimbus-jose-jwt:10.0.1'
97
- implementation "androidx.security:security-crypto:1.1.0-alpha06"
97
+ implementation "androidx.security:security-crypto:1.1.0-alpha07"
98
98
  //-------------------------
99
99
  }
100
100
 
@@ -699,7 +699,7 @@ object Converter {
699
699
  refreshToken = mapToToken(authTokenDescriptorMap.getMapOpt("refreshToken")),
700
700
  walletDid = authTokenDescriptorMap.getStringOpt("walletDid"),
701
701
  relyingPartyDid = authTokenDescriptorMap.getStringOpt("relyingPartyDid"),
702
- vendorOriginContext = authTokenDescriptorMap.getStringOpt("vendorOriginContext")
702
+ authorizationCode = authTokenDescriptorMap.getStringOpt("authorizationCode")
703
703
  )
704
704
  }
705
705
 
@@ -634,7 +634,7 @@ func dictionaryToAuthTokenDescriptor(
634
634
  refreshToken: dictionaryToToken(authTokenDescriptorDictionary["refreshToken"] as? [String : Any]),
635
635
  walletDid: authTokenDescriptorDictionary["walletDid"] as? String,
636
636
  relyingPartyDid: authTokenDescriptorDictionary["relyingPartyDid"] as? String,
637
- vendorOriginContext: authTokenDescriptorDictionary["vendorOriginContext"] as? String
637
+ authorizationCode: authTokenDescriptorDictionary["authorizationCode"] as? String
638
638
  )
639
639
  }
640
640
 
@@ -11,6 +11,6 @@ export interface VCLAuthTokenDescriptor {
11
11
  refreshToken?: VCLToken;
12
12
  walletDid?: string;
13
13
  relyingPartyDid?: string;
14
- vendorOriginContext?: string;
14
+ authorizationCode?: string;
15
15
  }
16
16
  //# sourceMappingURL=VCLAuthTokenDescriptor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VCLAuthTokenDescriptor.d.ts","sourceRoot":"","sources":["../../../../../src/api/entities/VCLAuthTokenDescriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAE7F,MAAM,WAAW,sBAAsB;IACrC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,mBAAmB,CAAC,EAAE,sBAAsB,CAAA;IAC5C,YAAY,CAAC,EAAE,QAAQ,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAA;CAC7B"}
1
+ {"version":3,"file":"VCLAuthTokenDescriptor.d.ts","sourceRoot":"","sources":["../../../../../src/api/entities/VCLAuthTokenDescriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAE7F,MAAM,WAAW,sBAAsB;IACrC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,mBAAmB,CAAC,EAAE,sBAAsB,CAAA;IAC5C,YAAY,CAAC,EAAE,QAAQ,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B"}
@@ -16,7 +16,7 @@ export interface VCLPresentationRequest {
16
16
  presentationDefinitionId: string;
17
17
  iss: string;
18
18
  didJwk: VCLDidJwk;
19
- feed: boolean;
19
+ feed?: boolean;
20
20
  remoteCryptoServicesToken?: VCLToken;
21
21
  }
22
22
  //# sourceMappingURL=VCLPresentationRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VCLPresentationRequest.d.ts","sourceRoot":"","sources":["../../../../../src/api/entities/VCLPresentationRequest.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,eAAe,EAAE,kBAAkB,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,wBAAwB,EAAE,MAAM,CAAC;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,SAAS,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,yBAAyB,CAAC,EAAE,QAAQ,CAAC;CACtC"}
1
+ {"version":3,"file":"VCLPresentationRequest.d.ts","sourceRoot":"","sources":["../../../../../src/api/entities/VCLPresentationRequest.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,eAAe,EAAE,kBAAkB,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,wBAAwB,EAAE,MAAM,CAAC;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,yBAAyB,CAAC,EAAE,QAAQ,CAAC;CACtC"}
package/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "@velocitycareerlabs/vcl-react-native",
3
- "version": "2.7.1",
3
+ "version": "2.7.3",
4
4
  "description": "Velocity Career Labs React Native SDK",
5
+ "license": "Apache-2.0",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
5
9
  "main": "lib/commonjs/index",
6
10
  "module": "lib/module/index",
7
11
  "types": "lib/typescript/src/index.d.ts",
@@ -48,14 +52,10 @@
48
52
  "url": "git+https://github.com/velocitycareerlabs/vcl-react-native.git"
49
53
  },
50
54
  "author": "Michael Avoyan <michael.avoyan.dev@gmail.com> (https://github.com/velocitycareerlabs)",
51
- "license": "MIT",
52
55
  "bugs": {
53
56
  "url": "https://github.com/velocitycareerlabs/vcl-react-native/issues"
54
57
  },
55
58
  "homepage": "https://github.com/velocitycareerlabs/vcl-react-native#readme",
56
- "publishConfig": {
57
- "registry": "https://registry.npmjs.org/"
58
- },
59
59
  "dependencies": {
60
60
  "license-checker": "^25.0.1"
61
61
  },
@@ -12,5 +12,5 @@ export interface VCLAuthTokenDescriptor {
12
12
  refreshToken?: VCLToken
13
13
  walletDid?: string
14
14
  relyingPartyDid?: string
15
- vendorOriginContext?: string
15
+ authorizationCode?: string
16
16
  }
@@ -18,6 +18,6 @@ export interface VCLPresentationRequest {
18
18
  presentationDefinitionId: string;
19
19
  iss: string;
20
20
  didJwk: VCLDidJwk;
21
- feed: boolean;
21
+ feed?: boolean;
22
22
  remoteCryptoServicesToken?: VCLToken;
23
23
  }
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
15
15
 
16
16
  s.source_files = "ios/**/*.{h,m,mm,swift}"
17
17
 
18
- s.dependency "VCL", "2.7.1"
18
+ s.dependency "VCL", "2.7.3"
19
19
 
20
20
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
21
21
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.