@logto/connector-apple 1.0.0-beta.11 → 1.0.0-beta.15
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/lib/index.js +1433 -766
- package/lib/jest.config.d.ts +1 -1
- package/lib/src/constant.d.ts +1 -1
- package/lib/src/index.d.ts +1 -1
- package/lib/src/types.d.ts +1 -1
- package/package.json +30 -29
package/lib/jest.config.d.ts
CHANGED
package/lib/src/constant.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConnectorMetadata } from '@logto/connector-kit';
|
|
1
|
+
import type { ConnectorMetadata } from '@logto/connector-kit';
|
|
2
2
|
export declare const issuer = "https://appleid.apple.com";
|
|
3
3
|
export declare const authorizationEndpoint: string;
|
|
4
4
|
export declare const accessTokenEndpoint: string;
|
package/lib/src/index.d.ts
CHANGED
package/lib/src/types.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const appleConfigGuard: z.ZodObject<{
|
|
|
6
6
|
}, {
|
|
7
7
|
clientId: string;
|
|
8
8
|
}>;
|
|
9
|
-
export
|
|
9
|
+
export type AppleConfig = z.infer<typeof appleConfigGuard>;
|
|
10
10
|
export declare const dataGuard: z.ZodObject<{
|
|
11
11
|
id_token: z.ZodString;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
package/package.json
CHANGED
|
@@ -1,53 +1,42 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@logto/connector-apple",
|
|
3
|
-
"version": "1.0.0-beta.11",
|
|
4
|
-
"description": "Apple web connector implementation.",
|
|
5
2
|
"main": "./lib/index.js",
|
|
6
3
|
"exports": "./lib/index.js",
|
|
7
|
-
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
8
4
|
"license": "MPL-2.0",
|
|
9
5
|
"files": [
|
|
10
6
|
"lib",
|
|
11
7
|
"docs",
|
|
12
8
|
"logo.svg",
|
|
13
|
-
"README.md",
|
|
14
9
|
"logo-dark.svg"
|
|
15
10
|
],
|
|
16
|
-
"scripts": {
|
|
17
|
-
"precommit": "lint-staged",
|
|
18
|
-
"build": "rm -rf lib/ && ncc build src/index.ts -o lib",
|
|
19
|
-
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
|
20
|
-
"lint": "eslint --ext .ts src",
|
|
21
|
-
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
22
|
-
"test": "jest",
|
|
23
|
-
"test:coverage": "jest --coverage --silent",
|
|
24
|
-
"prepack": "pnpm build"
|
|
25
|
-
},
|
|
26
11
|
"dependencies": {
|
|
27
|
-
"@logto/connector-kit": "
|
|
12
|
+
"@logto/connector-kit": "1.0.0-beta.30",
|
|
28
13
|
"@silverhand/essentials": "^1.2.0",
|
|
29
|
-
"@silverhand/jest-config": "1.0.0",
|
|
30
14
|
"got": "^11.8.2",
|
|
31
|
-
"
|
|
32
|
-
"zod": "^3.
|
|
15
|
+
"snakecase-keys": "^5.1.0",
|
|
16
|
+
"zod": "^3.20.2",
|
|
17
|
+
"jose": "^4.3.8"
|
|
33
18
|
},
|
|
34
19
|
"devDependencies": {
|
|
35
|
-
"
|
|
36
|
-
"@
|
|
37
|
-
"@silverhand/
|
|
38
|
-
"@
|
|
20
|
+
"iconv-lite": "0.6.3",
|
|
21
|
+
"@jest/types": "^29.3.1",
|
|
22
|
+
"@silverhand/eslint-config": "1.3.0",
|
|
23
|
+
"@silverhand/ts-config": "1.2.1",
|
|
24
|
+
"@silverhand/jest-config": "1.2.2",
|
|
25
|
+
"@types/jest": "^29.2.4",
|
|
39
26
|
"@types/node": "^16.3.1",
|
|
40
|
-
"@vercel/ncc": "^0.
|
|
27
|
+
"@vercel/ncc": "^0.36.0",
|
|
28
|
+
"@types/supertest": "^2.0.11",
|
|
41
29
|
"eslint": "^8.21.0",
|
|
42
|
-
"jest": "^
|
|
30
|
+
"jest": "^29.3.1",
|
|
43
31
|
"jest-matcher-specific-error": "^1.0.0",
|
|
44
32
|
"lint-staged": "^13.0.0",
|
|
45
33
|
"nock": "^13.2.2",
|
|
46
34
|
"prettier": "^2.7.1",
|
|
47
|
-
"
|
|
35
|
+
"supertest": "^6.2.2",
|
|
36
|
+
"typescript": "^4.9.4"
|
|
48
37
|
},
|
|
49
38
|
"engines": {
|
|
50
|
-
"node": "^16.0.0"
|
|
39
|
+
"node": "^16.13.0 || ^18.12.0"
|
|
51
40
|
},
|
|
52
41
|
"eslintConfig": {
|
|
53
42
|
"extends": "@silverhand"
|
|
@@ -56,5 +45,17 @@
|
|
|
56
45
|
"publishConfig": {
|
|
57
46
|
"access": "public"
|
|
58
47
|
},
|
|
59
|
-
"
|
|
60
|
-
|
|
48
|
+
"name": "@logto/connector-apple",
|
|
49
|
+
"version": "1.0.0-beta.15",
|
|
50
|
+
"description": "Apple web connector implementation.",
|
|
51
|
+
"scripts": {
|
|
52
|
+
"package:sync": "cd ../../ && pnpm package:sync",
|
|
53
|
+
"precommit": "lint-staged",
|
|
54
|
+
"build": "rm -rf lib/ && ncc build src/index.ts -o lib",
|
|
55
|
+
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
|
56
|
+
"lint": "eslint --ext .ts src",
|
|
57
|
+
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
58
|
+
"test": "jest",
|
|
59
|
+
"test:coverage": "pnpm run test --coverage --silent"
|
|
60
|
+
}
|
|
61
|
+
}
|