@dimo-network/data-sdk 1.4.0 → 1.5.1
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/.github/workflows/npm-publish.yml +6 -3
- package/README.md +82 -0
- package/dist/api/Method.js +7 -2
- package/dist/api/Method.test.js +10 -5
- package/dist/api/resources/Agents/index.d.ts +5 -0
- package/dist/api/resources/Agents/index.js +63 -0
- package/dist/api/resources/DimoRestResources.d.ts +2 -1
- package/dist/api/resources/DimoRestResources.js +2 -1
- package/dist/cjs/index.js +75 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/dimo.d.ts +2 -1
- package/dist/dimo.js +3 -1
- package/dist/dimo.test.js +4 -0
- package/dist/environments/index.d.ts +2 -0
- package/dist/environments/index.js +2 -0
- package/dist/esm/index.js +75 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/types/api/resources/Agents/index.d.ts +5 -0
- package/dist/types/api/resources/DimoRestResources.d.ts +2 -1
- package/dist/types/dimo.d.ts +2 -1
- package/dist/types/environments/index.d.ts +2 -0
- package/package.json +3 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @format */
|
|
2
|
+
import { Agents } from './Agents';
|
|
2
3
|
import { Attestation } from './Attestation';
|
|
3
4
|
import { Auth } from './Auth';
|
|
4
5
|
import { DeviceDefinitions } from './DeviceDefinitions';
|
|
@@ -7,4 +8,4 @@ import { TokenExchange } from './TokenExchange';
|
|
|
7
8
|
import { Trips } from './Trips';
|
|
8
9
|
import { Valuations } from './Valuations';
|
|
9
10
|
import { VehicleTriggers } from './VehicleTriggers';
|
|
10
|
-
export { Attestation, Auth, DeviceDefinitions, Devices, TokenExchange, Trips, Valuations, VehicleTriggers, };
|
|
11
|
+
export { Agents, Attestation, Auth, DeviceDefinitions, Devices, TokenExchange, Trips, Valuations, VehicleTriggers, };
|
package/dist/types/dimo.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/** @format */
|
|
2
2
|
import { DimoEnvironment } from "./environments";
|
|
3
3
|
import { Identity, Telemetry } from "./graphql/resources/DimoGraphqlResources";
|
|
4
|
-
import { Attestation, Auth, DeviceDefinitions, Devices, TokenExchange, Trips, Valuations, VehicleTriggers } from "./api/resources/DimoRestResources";
|
|
4
|
+
import { Agents, Attestation, Auth, DeviceDefinitions, Devices, TokenExchange, Trips, Valuations, VehicleTriggers } from "./api/resources/DimoRestResources";
|
|
5
5
|
export declare class DIMO {
|
|
6
|
+
agents: Agents;
|
|
6
7
|
attestation: Attestation;
|
|
7
8
|
auth: Auth;
|
|
8
9
|
devicedefinitions: DeviceDefinitions;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** @format */
|
|
2
2
|
export declare const DimoEnvironment: {
|
|
3
3
|
readonly Production: {
|
|
4
|
+
readonly Agents: "https://agents.dimo.zone";
|
|
4
5
|
readonly Attestation: "https://attestation-api.dimo.zone";
|
|
5
6
|
readonly Auth: "https://auth.dimo.zone";
|
|
6
7
|
readonly Identity: "https://identity-api.dimo.zone/query";
|
|
@@ -14,6 +15,7 @@ export declare const DimoEnvironment: {
|
|
|
14
15
|
readonly VehicleTriggers: "https://vehicle-triggers-api.dimo.zone";
|
|
15
16
|
};
|
|
16
17
|
readonly Dev: {
|
|
18
|
+
readonly Agents: "https://agents.dev.dimo.zone";
|
|
17
19
|
readonly Attestation: "https://attestation-api.dev.dimo.zone";
|
|
18
20
|
readonly Auth: "https://auth.dev.dimo.zone";
|
|
19
21
|
readonly Identity: "https://identity-api.dev.dimo.zone/query";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimo-network/data-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "DIMO Data SDK for JavaScript",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"author": "James Li",
|
|
9
9
|
"contributors": [
|
|
10
10
|
"Yusuf Çırak",
|
|
11
|
-
"Eduardo Rodriguez"
|
|
11
|
+
"Eduardo Rodriguez",
|
|
12
|
+
"Barrett Kowalsky"
|
|
12
13
|
],
|
|
13
14
|
"license": "Apache-2.0",
|
|
14
15
|
"type": "module",
|