@or-sdk/adapters 0.2.51 → 0.2.52-beta.3996.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/dist/types/Adapters.d.ts
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { CalApiParams } from '@or-sdk/base';
|
|
2
2
|
import { AdaptersConfig } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* OneReach Adapters service client
|
|
5
|
+
* ## Installation:
|
|
6
|
+
* ```
|
|
7
|
+
* $ npm i @or-sdk/adapters
|
|
8
|
+
* ```
|
|
9
|
+
*/
|
|
3
10
|
export declare class Adapters {
|
|
11
|
+
/**
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import { Adapters } from '@or-sdk/adapters'
|
|
14
|
+
* const adapters = new Adapters({token: 'my-account-token-string', discoveryUrl: 'http://example.tables/endpoint'});
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
4
17
|
private readonly eventManager;
|
|
5
18
|
private readonly discovery;
|
|
6
19
|
private _accountId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Adapters.d.ts","sourceRoot":"","sources":["../../src/Adapters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAI5C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Adapters.d.ts","sourceRoot":"","sources":["../../src/Adapters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAI5C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC;;;;;;GAMG;AACH,qBAAa,QAAQ;IACnB;;;;;OAKG;IAEH,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAe;IAC5C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAY;IACtC,OAAO,CAAC,UAAU,CAAiC;IACnD,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAiC;gBAEtD,MAAM,EAAE,cAAc;IAiBlC,IAAI,SAAS,uBAEZ;IAED,IAAI,eAAe,uBAElB;IAED,IAAI,WAAW,WAEd;IAEY,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,CAAC,CAAC;IAQhD,aAAa,CAAC,IAAI,EAAE,MAAM;YAIzB,YAAY;YAIZ,YAAY;CAM3B"}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Token } from '@or-sdk/base';
|
|
2
2
|
export type AdaptersConfig = {
|
|
3
|
+
/**
|
|
4
|
+
* token
|
|
5
|
+
*/
|
|
3
6
|
token: Token;
|
|
7
|
+
/**
|
|
8
|
+
* Url of OneReach service discovery api
|
|
9
|
+
*/
|
|
4
10
|
discoveryUrl?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Url of OneReach Event Manager api
|
|
13
|
+
*/
|
|
5
14
|
eventManagerUrl?: string;
|
|
6
15
|
accountId?: string;
|
|
7
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,MAAM,MAAM,cAAc,GAAG;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;IACb;;QAEI;IACJ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;QAEI;IACJ,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or-sdk/adapters",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.52-beta.3996.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/types/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "pnpm clean && pnpm
|
|
9
|
+
"build": "pnpm clean && concurrently 'pnpm:build:*(!watch)'",
|
|
10
10
|
"build:cjs": "tsc --project tsconfig.json",
|
|
11
11
|
"build:esm": "tsc --project tsconfig.esm.json",
|
|
12
12
|
"build:types": "tsc --project tsconfig.types.json",
|
|
13
|
-
"build:watch": "concurrently
|
|
13
|
+
"build:watch": "concurrently 'pnpm:build:watch:*'",
|
|
14
14
|
"build:watch:cjs": "tsc --project tsconfig.json -w",
|
|
15
15
|
"build:watch:esm": "tsc --project tsconfig.esm.json -w",
|
|
16
16
|
"build:watch:types": "tsc --project tsconfig.types.json -w",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dev": "pnpm build:watch:esm"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@or-sdk/base": "^0.42.
|
|
22
|
-
"@or-sdk/discovery": "^1.10.
|
|
21
|
+
"@or-sdk/base": "^0.42.6-beta.3996.0",
|
|
22
|
+
"@or-sdk/discovery": "^1.10.8-beta.3996.0",
|
|
23
23
|
"@or-sdk/event-manager": "^0.24.24"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
@@ -28,6 +28,5 @@
|
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
|
-
}
|
|
32
|
-
"gitHead": "c6887f491665f09fe3588ef5384d0d3f2d42412d"
|
|
31
|
+
}
|
|
33
32
|
}
|