@sudoplatform/sudo-user 10.0.1 → 11.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudoplatform/sudo-user",
3
- "version": "10.0.1",
3
+ "version": "11.0.0",
4
4
  "author": "Anonyome Labs, Inc.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,6 +8,7 @@
8
8
  },
9
9
  "license": "Apache-2.0",
10
10
  "scripts": {
11
+ "prepare": "husky install",
11
12
  "lint": "yarn lint:eslint && yarn lint:prettier",
12
13
  "lint:eslint": "eslint \"{bin,test,src}/**/*.{ts,tsx}\"",
13
14
  "lint:prettier": "prettier -l \"{bin,test,src}/**/*.{js,json,jsx,ts,tsx}\"",
@@ -32,69 +33,76 @@
32
33
  "./lib/runtimes/node/node-crypto.js": "./lib/runtimes/browser/browser-crypto.js"
33
34
  },
34
35
  "dependencies": {
35
- "@aws-sdk/client-cognito-identity-provider": "^3.37.0",
36
- "@graphql-typed-document-node/core": "^3.1.0",
37
- "@sudoplatform/sudo-web-crypto-provider": "^3.0.0",
36
+ "@aws-sdk/client-cognito-identity-provider": "^3.131.0",
37
+ "@graphql-typed-document-node/core": "^3.1.1",
38
+ "@sudoplatform/sudo-web-crypto-provider": "^6.0.0",
38
39
  "amazon-cognito-auth-js": "^1.3.3",
39
40
  "apollo-cache-inmemory": "^1.6.6",
40
- "asn1js": "^2.1.1",
41
- "aws-appsync": "4.0.3",
42
- "fp-ts": "^2.11.5",
43
- "graphql": "^15.6.1",
41
+ "aws-appsync": "^4.1.7",
42
+ "fp-ts": "^2.12.1",
43
+ "graphql": "^15.8.0",
44
44
  "io-ts": "^2.2.16",
45
45
  "jsonwebtoken": "^8.5.1",
46
46
  "lodash": "^4.17.21",
47
- "monocle-ts": "^2.3.11",
48
- "newtype-ts": "^0.3.4",
49
- "tslib": "^2.3.1",
47
+ "monocle-ts": "^2.3.13",
48
+ "newtype-ts": "^0.3.5",
49
+ "tslib": "^2.4.0",
50
50
  "uuid": "^8.3.2"
51
51
  },
52
52
  "resolutions": {
53
53
  "apollo-cache-inmemory": "^1.6.6",
54
- "@graphql-codegen/**/ansi-regex": "^5.0.1"
54
+ "apollo-client": "^2.6.10",
55
+ "apollo-link": "^1.2.14",
56
+ "apollo-link-http": "^1.5.17",
57
+ "@graphql-codegen/**/ansi-regex": "^5.0.1",
58
+ "cross-fetch": "^3.1.5",
59
+ "node-fetch": "^2.6.7",
60
+ "minimist": "^1.2.6",
61
+ "undici": "^5.5.1",
62
+ "got": "^11.8.5"
55
63
  },
56
64
  "devDependencies": {
57
- "@babel/cli": "^7.16.0",
58
- "@babel/core": "^7.16.0",
59
- "@babel/plugin-proposal-class-properties": "^7.16.0",
60
- "@babel/plugin-proposal-private-methods": "^7.16.0",
61
- "@babel/preset-env": "^7.16.0",
62
- "@babel/preset-typescript": "^7.16.0",
63
- "@graphql-codegen/add": "^3.1.0",
64
- "@graphql-codegen/cli": "^2.2.1",
65
- "@graphql-codegen/plugin-helpers": "^2.2.0",
66
- "@graphql-codegen/typed-document-node": "^2.1.6",
67
- "@graphql-codegen/typescript": "^2.2.4",
68
- "@graphql-codegen/typescript-operations": "^2.1.8",
65
+ "@babel/cli": "^7.18.9",
66
+ "@babel/core": "^7.18.9",
67
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
68
+ "@babel/plugin-proposal-private-methods": "^7.18.6",
69
+ "@babel/preset-env": "^7.18.9",
70
+ "@babel/preset-typescript": "^7.18.6",
71
+ "@graphql-codegen/add": "^3.2.0",
72
+ "@graphql-codegen/cli": "^2.9.1",
73
+ "@graphql-codegen/plugin-helpers": "^2.6.0",
74
+ "@graphql-codegen/typed-document-node": "^2.3.2",
75
+ "@graphql-codegen/typescript": "^2.7.2",
76
+ "@graphql-codegen/typescript-operations": "^2.5.2",
69
77
  "@graphql-typed-document-node/apollo-client-2": "^1.0.0",
70
- "@sudoplatform/sudo-common": "^6.0.0",
78
+ "@sudoplatform/sudo-common": "^7.0.2",
71
79
  "@types/amazon-cognito-auth-js": "^1.3.0",
72
- "@types/firefox-webext-browser": "^82.0.1",
73
- "@types/jest": "^27.0.2",
74
- "@types/jsonwebtoken": "^8.5.6",
75
- "@types/lodash": "^4.14.177",
76
- "@types/node": "^14.17.27",
77
- "@types/uuid": "^8.3.1",
78
- "@typescript-eslint/eslint-plugin": "^5.1.0",
79
- "@typescript-eslint/parser": "^5.1.0",
80
+ "@types/firefox-webext-browser": "^94.0.1",
81
+ "@types/jest": "^28.1.6",
82
+ "@types/jsonwebtoken": "^8.5.8",
83
+ "@types/lodash": "^4.14.182",
84
+ "@types/node": "^16.11.45",
85
+ "@types/uuid": "^8.3.4",
86
+ "@typescript-eslint/eslint-plugin": "^5.30.7",
87
+ "@typescript-eslint/parser": "^5.30.7",
80
88
  "apollo-client": "^2.6.10",
81
- "eslint": "^8.0.1",
82
- "eslint-config-prettier": "^8.3.0",
83
- "eslint-plugin-import": "^2.25.2",
84
- "eslint-plugin-prettier": "^4.0.0",
89
+ "eslint": "^8.20.0",
90
+ "eslint-config-prettier": "^8.5.0",
91
+ "eslint-plugin-import": "^2.26.0",
92
+ "eslint-plugin-prettier": "^4.2.1",
93
+ "husky": "^8.0.1",
85
94
  "isomorphic-fetch": "^3.0.0",
86
- "isomorphic-webcrypto": "^2.3.8",
87
- "jest": "27.3.1",
88
- "prettier": "^2.4.1",
89
- "react": "16.13.1",
90
- "subscriptions-transport-ws": "^0.9.19",
95
+ "jest": "^28.1.3",
96
+ "jest-environment-node": "^28.1.3",
97
+ "prettier": "^2.7.1",
98
+ "subscriptions-transport-ws": "^0.11.0",
91
99
  "ts-mockito": "^2.6.1",
92
- "typedoc": "^0.22.9",
93
- "typescript": "^4.4.4",
100
+ "typedoc": "^0.23.9",
101
+ "typescript": "^4.7.4",
94
102
  "websocket": "^1.0.34"
95
103
  },
96
104
  "peerDependencies": {
97
- "@sudoplatform/sudo-common": "^6.0.0",
98
- "io-ts": "^2.2.11"
105
+ "@sudoplatform/sudo-common": "^7.0.2",
106
+ "io-ts": "^2.2.16"
99
107
  }
100
108
  }