@velocitycareerlabs/vcl-react-native 1.4.1 → 1.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.
@@ -9,7 +9,7 @@ buildscript {
9
9
  }
10
10
 
11
11
  dependencies {
12
- classpath 'com.android.tools.build:gradle:7.2.1'
12
+ classpath 'com.android.tools.build:gradle:7.4.0'
13
13
  // noinspection DifferentKotlinGradleVersion
14
14
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
15
15
  }
@@ -131,5 +131,5 @@ dependencies {
131
131
 
132
132
  // VCL:
133
133
  implementation "com.nimbusds:nimbus-jose-jwt:9.25.6"
134
- implementation "io.velocitycareerlabs:vcl:1.4.0"
134
+ implementation "io.velocitycareerlabs:vcl:1.5.0"
135
135
  }
@@ -1,5 +1,5 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
4
3
  zipStoreBase=GRADLE_USER_HOME
5
4
  zipStorePath=wrapper/dists
5
+ distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
@@ -1,4 +1,4 @@
1
- VclReactNative_kotlinVersion=1.5.31
2
- VclReactNative_compileSdkVersion=30
1
+ VclReactNative_kotlinVersion=1.7.21
2
+ VclReactNative_compileSdkVersion=33
3
3
  VclReactNative_buildToolsVersion=30.0.3
4
- VclReactNative_targetSdkVersion=30
4
+ VclReactNative_targetSdkVersion=33
@@ -4,6 +4,6 @@
4
4
  * Copyright 2022 Velocity Career Labs inc.
5
5
  * SPDX-License-Identifier: Apache-2.0
6
6
  */
7
- export declare type Dictionary<T> = {
7
+ export type Dictionary<T> = {
8
8
  [key: string]: T;
9
9
  };
@@ -7,7 +7,7 @@
7
7
  import type { Dictionary } from '../Dictionary';
8
8
  import type { VCLRegions } from './VCLRegions';
9
9
  export interface VCLCountry {
10
- payload: Dictionary<string>;
10
+ payload: Dictionary<any>;
11
11
  code: string;
12
12
  name: string;
13
13
  regions: VCLRegions;
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import type { Dictionary } from '../Dictionary';
8
8
  export interface VCLCredentialType {
9
- payload: Dictionary<string>;
9
+ payload: Dictionary<any>;
10
10
  id: string;
11
11
  schema: string;
12
12
  createdAt: string;
@@ -6,5 +6,5 @@
6
6
  */
7
7
  import type { Dictionary } from '../Dictionary';
8
8
  export interface VCLCredentialTypeSchema {
9
- payload: Dictionary<string>;
9
+ payload: Dictionary<any>;
10
10
  }
@@ -6,5 +6,5 @@
6
6
  */
7
7
  import type { Dictionary } from '../Dictionary';
8
8
  export interface VCLCredentialTypesUIFormSchema {
9
- payload: Dictionary<string>;
9
+ payload: Dictionary<any>;
10
10
  }
@@ -7,7 +7,7 @@
7
7
  import type { Dictionary } from '../Dictionary';
8
8
  import type { VCLToken } from './VCLToken';
9
9
  export interface VCLOffers {
10
- all: Dictionary<string>[];
10
+ all: Dictionary<any>[];
11
11
  responseCode: number;
12
12
  token: VCLToken;
13
13
  }
@@ -7,6 +7,6 @@
7
7
  import type { Dictionary } from '../Dictionary';
8
8
  import type { VCLServiceCredentialAgentIssuer } from './VCLServiceCredentialAgentIssuer';
9
9
  export interface VCLOrganization {
10
- payload: Dictionary<string>;
10
+ payload: Dictionary<any>;
11
11
  serviceCredentialAgentIssuers: VCLServiceCredentialAgentIssuer[];
12
12
  }
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import type { Dictionary } from '../Dictionary';
8
8
  export interface VCLRegion {
9
- payload: Dictionary<string>;
9
+ payload: Dictionary<any>;
10
10
  code: string;
11
11
  name: string;
12
12
  }
@@ -7,7 +7,7 @@
7
7
  import type { VCLServiceTypes } from './VCLServiceTypes';
8
8
  import type { Dictionary } from '../Dictionary';
9
9
  export interface VCLVerifiedProfile {
10
- payload: Dictionary<string>;
10
+ payload: Dictionary<any>;
11
11
  credentialSubject: Dictionary<string>;
12
12
  name: string;
13
13
  logo: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velocitycareerlabs/vcl-react-native",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "Velocity Career Labs React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -50,22 +50,22 @@
50
50
  "@commitlint/config-conventional": "^11.0.0",
51
51
  "@react-native-community/eslint-config": "^2.0.0",
52
52
  "@release-it/conventional-changelog": "^2.0.0",
53
- "@types/jest": "^26.0.0",
53
+ "@types/jest": "^27.4.1",
54
54
  "@types/react": "^17.0.39",
55
- "@types/react-native": "0.66.15",
55
+ "@types/react-native": "^0.66.15",
56
56
  "commitlint": "^11.0.0",
57
57
  "eslint": "^7.2.0",
58
58
  "eslint-config-prettier": "^7.0.0",
59
59
  "eslint-plugin-prettier": "^3.1.3",
60
- "husky": "^4.2.5",
61
- "jest": "^26.0.1",
60
+ "husky": "^4.3.0",
61
+ "jest": "^27.5.1",
62
62
  "pod-install": "^0.1.0",
63
63
  "prettier": "^2.0.5",
64
64
  "react": "17.0.2",
65
65
  "react-native": "0.67.5",
66
66
  "react-native-builder-bob": "^0.18.0",
67
67
  "release-it": "^14.2.2",
68
- "typescript": "^4.1.3"
68
+ "typescript": "^4.6.2"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "react": "*",
@@ -9,7 +9,7 @@ import type { Dictionary } from '../Dictionary';
9
9
  import type { VCLRegions } from './VCLRegions';
10
10
 
11
11
  export interface VCLCountry {
12
- payload: Dictionary<string>;
12
+ payload: Dictionary<any>;
13
13
  code: string;
14
14
  name: string;
15
15
  regions: VCLRegions;
@@ -8,7 +8,7 @@
8
8
  import type { Dictionary } from '../Dictionary';
9
9
 
10
10
  export interface VCLCredentialType {
11
- payload: Dictionary<string>;
11
+ payload: Dictionary<any>;
12
12
  id: string;
13
13
  schema: string;
14
14
  createdAt: string;
@@ -8,5 +8,5 @@
8
8
  import type { Dictionary } from '../Dictionary';
9
9
 
10
10
  export interface VCLCredentialTypeSchema {
11
- payload: Dictionary<string>;
11
+ payload: Dictionary<any>;
12
12
  }
@@ -8,5 +8,5 @@
8
8
  import type { Dictionary } from '../Dictionary';
9
9
 
10
10
  export interface VCLCredentialTypesUIFormSchema {
11
- payload: Dictionary<string>;
11
+ payload: Dictionary<any>;
12
12
  }
@@ -9,7 +9,7 @@ import type { Dictionary } from '../Dictionary';
9
9
  import type { VCLToken } from './VCLToken';
10
10
 
11
11
  export interface VCLOffers {
12
- all: Dictionary<string>[];
12
+ all: Dictionary<any>[];
13
13
  responseCode: number;
14
14
  token: VCLToken;
15
15
  }
@@ -9,6 +9,6 @@ import type { Dictionary } from '../Dictionary';
9
9
  import type { VCLServiceCredentialAgentIssuer } from './VCLServiceCredentialAgentIssuer';
10
10
 
11
11
  export interface VCLOrganization {
12
- payload: Dictionary<string>;
12
+ payload: Dictionary<any>;
13
13
  serviceCredentialAgentIssuers: VCLServiceCredentialAgentIssuer[];
14
14
  }
@@ -8,7 +8,7 @@
8
8
  import type { Dictionary } from '../Dictionary';
9
9
 
10
10
  export interface VCLRegion {
11
- payload: Dictionary<string>;
11
+ payload: Dictionary<any>;
12
12
  code: string;
13
13
  name: string;
14
14
  }
@@ -9,7 +9,7 @@ import type { VCLServiceTypes } from './VCLServiceTypes';
9
9
  import type { Dictionary } from '../Dictionary';
10
10
 
11
11
  export interface VCLVerifiedProfile {
12
- payload: Dictionary<string>;
12
+ payload: Dictionary<any>;
13
13
  credentialSubject: Dictionary<string>;
14
14
  name: string;
15
15
  logo: string;
@@ -18,5 +18,5 @@ Pod::Spec.new do |s|
18
18
  s.swift_version = "5.0"
19
19
 
20
20
  s.dependency "React"
21
- s.dependency "VCL", "1.4.0"
21
+ s.dependency "VCL", "1.5.0"
22
22
  end