@dimo-network/data-sdk 1.3.2 → 1.4.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.
@@ -6,5 +6,5 @@ import { Devices } from './Devices';
6
6
  import { TokenExchange } from './TokenExchange';
7
7
  import { Trips } from './Trips';
8
8
  import { Valuations } from './Valuations';
9
- import { VehicleEvents } from './VehicleEvents';
10
- export { Attestation, Auth, DeviceDefinitions, Devices, TokenExchange, Trips, Valuations, VehicleEvents, };
9
+ import { VehicleTriggers } from './VehicleTriggers';
10
+ export { Attestation, Auth, DeviceDefinitions, Devices, TokenExchange, Trips, Valuations, VehicleTriggers, };
@@ -1,7 +1,7 @@
1
1
  /** @format */
2
2
  import { Resource } from '../../Resource';
3
3
  import { DimoEnvironment } from '../../../environments';
4
- declare class VehicleEvents extends Resource {
4
+ declare class VehicleTriggers extends Resource {
5
5
  constructor(api: any, env: keyof typeof DimoEnvironment);
6
6
  }
7
- export { VehicleEvents };
7
+ export { VehicleTriggers };
@@ -1,7 +1,7 @@
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, VehicleEvents } from "./api/resources/DimoRestResources";
4
+ import { Attestation, Auth, DeviceDefinitions, Devices, TokenExchange, Trips, Valuations, VehicleTriggers } from "./api/resources/DimoRestResources";
5
5
  export declare class DIMO {
6
6
  attestation: Attestation;
7
7
  auth: Auth;
@@ -12,7 +12,7 @@ export declare class DIMO {
12
12
  tokenexchange: TokenExchange;
13
13
  trips: Trips;
14
14
  valuations: Valuations;
15
- vehicleEvents: VehicleEvents;
15
+ vehicleTriggers: VehicleTriggers;
16
16
  constructor(env: keyof typeof DimoEnvironment);
17
17
  authenticate(): Promise<any>;
18
18
  }
@@ -11,7 +11,7 @@ export declare const DimoEnvironment: {
11
11
  readonly Trips: "https://trips-api.dimo.zone";
12
12
  readonly Valuations: "https://valuations-api.dimo.zone";
13
13
  readonly VehicleSignalDecoding: "https://vehicle-signal-decoding.dimo.zone";
14
- readonly VehicleEvents: "https://vehicle-events-api.dimo.zone";
14
+ readonly VehicleTriggers: "https://vehicle-triggers-api.dimo.zone";
15
15
  };
16
16
  readonly Dev: {
17
17
  readonly Attestation: "https://attestation-api.dev.dimo.zone";
@@ -24,7 +24,7 @@ export declare const DimoEnvironment: {
24
24
  readonly Trips: "https://trips-api.dev.dimo.zone";
25
25
  readonly Valuations: "https://valuations-api.dev.dimo.zone";
26
26
  readonly VehicleSignalDecoding: "https://vehicle-signal-decoding.dev.dimo.zone";
27
- readonly VehicleEvents: "https://vehicle-events-api.dev.dimo.zone";
27
+ readonly VehicleTriggers: "https://vehicle-triggers-api.dev.dimo.zone";
28
28
  };
29
29
  };
30
30
  export type DimoEnvironment = typeof DimoEnvironment.Production | typeof DimoEnvironment.Dev;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimo-network/data-sdk",
3
- "version": "1.3.2",
3
+ "version": "1.4.0",
4
4
  "description": "DIMO Data SDK for JavaScript",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -12,17 +12,17 @@
12
12
  ],
13
13
  "license": "Apache-2.0",
14
14
  "type": "module",
15
-
16
15
  "exports": {
17
16
  "import": "./dist/esm/index.js",
18
- "require": "./dist/cjs/index.js"
17
+ "require": "./dist/cjs/index.js",
18
+ "types": "./dist/types/index.d.ts"
19
19
  },
20
20
  "keywords": [
21
21
  "data-sdk",
22
22
  "dimo",
23
23
  "dimo-network"
24
24
  ],
25
- "homepage": "https://dimo.org/developers",
25
+ "homepage": "https://dimo.org/",
26
26
  "bugs": {
27
27
  "url": "https://github.com/DIMO-Network/data-sdk/issues"
28
28
  },
@@ -62,5 +62,4 @@
62
62
  "optionalDependencies": {
63
63
  "@rollup/rollup-linux-x64-gnu": "*"
64
64
  }
65
-
66
65
  }