@vybit/oauth2-sdk 1.0.0 → 1.0.2
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/README.md +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ The SDK always uses production Vybit endpoints:
|
|
|
48
48
|
- **Authentication**: `https://app.vybit.net`
|
|
49
49
|
- **API**: `https://vybit.net`
|
|
50
50
|
|
|
51
|
-
For different environments (dev/staging/prod), create separate Vybit accounts with their own OAuth credentials
|
|
51
|
+
For different environments (dev/staging/prod), create separate Vybit accounts with their own OAuth credentials.
|
|
52
52
|
|
|
53
53
|
## API Reference
|
|
54
54
|
|
package/dist/types.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export interface TriggerOptions {
|
|
|
50
50
|
* Response from triggering a vybit notification
|
|
51
51
|
*/
|
|
52
52
|
export interface TriggerResponse {
|
|
53
|
-
/** Result code (
|
|
53
|
+
/** Result code (1 = success) */
|
|
54
54
|
result: number;
|
|
55
55
|
/** Processing key for tracking the notification */
|
|
56
56
|
plk: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vybit/oauth2-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "OAuth 2.0 SDK for Vybit authentication and authorization",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"build": "tsc",
|
|
9
9
|
"clean": "rm -rf dist",
|
|
10
10
|
"dev": "tsc --watch",
|
|
11
|
-
"test": "jest --config ../../jest.config.js --rootDir ../.."
|
|
11
|
+
"test": "jest --config ../../jest.config.js --rootDir ../..",
|
|
12
|
+
"lint": "echo 'Run lint from root: npm run lint'"
|
|
12
13
|
},
|
|
13
14
|
"keywords": [
|
|
14
15
|
"vybit",
|
|
@@ -20,12 +21,12 @@
|
|
|
20
21
|
"license": "MIT",
|
|
21
22
|
"repository": {
|
|
22
23
|
"type": "git",
|
|
23
|
-
"url": "https://
|
|
24
|
+
"url": "https://gitlab.com/flatirontek/vybit-sdk.git",
|
|
24
25
|
"directory": "packages/oauth2"
|
|
25
26
|
},
|
|
26
|
-
"homepage": "https://
|
|
27
|
+
"homepage": "https://gitlab.com/flatirontek/vybit-sdk#readme",
|
|
27
28
|
"bugs": {
|
|
28
|
-
"url": "https://
|
|
29
|
+
"url": "https://gitlab.com/flatirontek/vybit-sdk/-/issues"
|
|
29
30
|
},
|
|
30
31
|
"publishConfig": {
|
|
31
32
|
"access": "public"
|
|
@@ -38,7 +39,7 @@
|
|
|
38
39
|
"node": ">=16.0.0"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
41
|
-
"@vybit/core": "^1.0.
|
|
42
|
+
"@vybit/core": "^1.0.1"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"node-fetch": "^3.0.0"
|
|
@@ -48,4 +49,4 @@
|
|
|
48
49
|
"optional": true
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
|
-
}
|
|
52
|
+
}
|