@paypal/connect-loader-component
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -1,4 +0,4 @@ | ||
import loadAxo = require("./load-axo-script"); | ||
import loadAxo = require("./loadAxoScript"); | ||
import { constants } from "./constants"; | ||
export { constants }; | ||
export { loadAxo }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.loadAxo = exports.constants = void 0; | ||
var loadAxo = require("./load-axo-script"); | ||
var loadAxo = require("./loadAxoScript"); | ||
exports.loadAxo = loadAxo; | ||
var constants_1 = require("./constants"); | ||
Object.defineProperty(exports, "constants", { enumerable: true, get: function () { return constants_1.constants; } }); |
type LoadAxoOptionsMetaData = { | ||
bundleIdOverride?: string; | ||
}; | ||
type Client = { | ||
getVersion: () => string; | ||
}; | ||
export type GenerateAssetUrl = { | ||
@@ -12,6 +9,12 @@ assetUrl: string; | ||
export type LoadAxoOptions = { | ||
client: Client; | ||
platform: AxoSupportedPlatform; | ||
btSdkVersion: string; | ||
minified?: boolean; | ||
metadata?: LoadAxoOptionsMetaData; | ||
}; | ||
export declare const AxoSupportedPlatforms: { | ||
readonly BT: "BT"; | ||
readonly PPCP: "PPCP"; | ||
}; | ||
export type AxoSupportedPlatform = keyof typeof AxoSupportedPlatforms; | ||
export {}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AxoSupportedPlatforms = void 0; | ||
exports.AxoSupportedPlatforms = { | ||
BT: "BT", | ||
PPCP: "PPCP", | ||
}; |
{ | ||
"name": "@paypal/connect-loader-component", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Loads AXO script", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,2 +0,2 @@ | ||
import loadAxo = require("./load-axo-script"); | ||
import loadAxo = require("./loadAxoScript"); | ||
import { constants } from "./constants"; | ||
@@ -3,0 +3,0 @@ |
@@ -5,6 +5,2 @@ type LoadAxoOptionsMetaData = { | ||
type Client = { | ||
getVersion: () => string; | ||
}; | ||
export type GenerateAssetUrl = { | ||
@@ -16,5 +12,13 @@ assetUrl: string; | ||
export type LoadAxoOptions = { | ||
client: Client; | ||
platform: AxoSupportedPlatform; | ||
btSdkVersion: string; | ||
minified?: boolean; | ||
metadata?: LoadAxoOptionsMetaData; | ||
}; | ||
export const AxoSupportedPlatforms = { | ||
BT: "BT", | ||
PPCP: "PPCP", | ||
} as const; | ||
export type AxoSupportedPlatform = keyof typeof AxoSupportedPlatforms; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43519
27
975
1