@basis-theory/basis-theory-js 4.27.2 → 4.28.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.
@@ -28,11 +28,11 @@ const USER_AGENT_CLIENT = 'BasisTheoryJS';
28
28
  exports.USER_AGENT_CLIENT = USER_AGENT_CLIENT;
29
29
  const DEFAULT_BASE_URL = `https://${"api.basistheory.com"}`;
30
30
  exports.DEFAULT_BASE_URL = DEFAULT_BASE_URL;
31
- const DEFAULT_ELEMENTS_BASE_URL = `https://${"js.basistheory.com/hosted-elements"}/web-elements/${WEB_ELEMENTS_VERSION}/hosted-elements`;
31
+ const DEFAULT_ELEMENTS_BASE_URL = `https://${"js.basistheory.com/hosted-elements"}`;
32
32
  exports.DEFAULT_ELEMENTS_BASE_URL = DEFAULT_ELEMENTS_BASE_URL;
33
33
  const DD_TOKEN = "pub5f53501515584007899577554c4aeda6";
34
34
  exports.DD_TOKEN = DD_TOKEN;
35
- const DD_GIT_SHA = "9f23bec985c4abb6a446ea57f009abf1d460b71a";
35
+ const DD_GIT_SHA = "b7689dec81c3e49cf047d7180a5001e45bc58e6b";
36
36
  exports.DD_GIT_SHA = DD_GIT_SHA;
37
37
  const CLIENT_BASE_PATHS = {
38
38
  tokens: 'tokens',
package/elements/load.js CHANGED
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.loadElements = void 0;
7
7
 
8
- var _common = require("./../common");
9
-
10
8
  var _logging = require("./../common/logging");
11
9
 
12
10
  var _constants = require("./constants");
@@ -166,7 +164,7 @@ const loadElements = elementsClientUrl => {
166
164
  return;
167
165
  }
168
166
 
169
- let url = `https://${"js.basistheory.com"}/web-elements/${_common.WEB_ELEMENTS_VERSION}/client/index.js`;
167
+ let url = `https://${"js.basistheory.com"}/web-elements/1.5.0/client/index.js`;
170
168
 
171
169
  if (typeof elementsClientUrl !== 'undefined') {
172
170
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basis-theory/basis-theory-js",
3
- "version": "4.27.2",
3
+ "version": "4.28.1",
4
4
  "repository": "https://github.com/Basis-Theory/basis-theory-js",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -8,6 +8,7 @@ interface Tenant extends Auditable {
8
8
  type UpdateTenant = Pick<Tenant, 'name' | 'settings'>;
9
9
  interface TenantUsageReport {
10
10
  tokenReport: TokenReport;
11
+ totalTokens: number;
11
12
  }
12
13
  interface TokenReport {
13
14
  totalTokens: number;