@bundleup/core 0.0.10 → 0.0.12

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/server.d.mts CHANGED
@@ -18,8 +18,8 @@ declare class BundleUp {
18
18
  constructor(config?: BundleUpConfig);
19
19
  private log;
20
20
  createConnection(integrationId: string, options: ConnectionOptions): Promise<{
21
- url: string;
22
21
  token: string;
22
+ url: string;
23
23
  expiresIn: number;
24
24
  externalId: string | undefined;
25
25
  }>;
package/dist/server.d.ts CHANGED
@@ -18,8 +18,8 @@ declare class BundleUp {
18
18
  constructor(config?: BundleUpConfig);
19
19
  private log;
20
20
  createConnection(integrationId: string, options: ConnectionOptions): Promise<{
21
- url: string;
22
21
  token: string;
22
+ url: string;
23
23
  expiresIn: number;
24
24
  externalId: string | undefined;
25
25
  }>;
package/dist/server.js CHANGED
@@ -66,8 +66,8 @@ var BundleUp = class {
66
66
  }
67
67
  this.log("Authentication token received successfully");
68
68
  return {
69
- url: data.url,
70
69
  token: data.token,
70
+ url: data.auth_url,
71
71
  expiresIn: data.expires_in,
72
72
  externalId: data.external_id
73
73
  };
package/dist/server.mjs CHANGED
@@ -34,8 +34,8 @@ var BundleUp = class {
34
34
  }
35
35
  this.log("Authentication token received successfully");
36
36
  return {
37
- url: data.url,
38
37
  token: data.token,
38
+ url: data.auth_url,
39
39
  expiresIn: data.expires_in,
40
40
  externalId: data.external_id
41
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bundleup/core",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "Core package for BundleUp",
5
5
  "exports": {
6
6
  "./client": {
@@ -38,6 +38,6 @@
38
38
  "author": "BundleUp",
39
39
  "license": "ISC",
40
40
  "dependencies": {
41
- "@bundleup/sdk": "^0.0.12"
41
+ "@bundleup/sdk": "^0.0.14"
42
42
  }
43
43
  }