@paypal/connect-loader-component
Advanced tools
Comparing version 1.0.0 to 1.1.0-beta.1
@@ -5,2 +5,20 @@ # CHANGELOG | ||
## ⚠️ 1.1.0-beta.1 | ||
Uses a modified version of `asset-loader` without Promises polyfill to unblock us tmp from publishing PP v5 SDK w/ AXO. See [slack thread](https://paypal.slack.com/archives/C04FBV3163E/p1701287607895859) for more details. | ||
This should only be used until we have resolved the peer dependency issue in PP v5 sdk. | ||
- [#19](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/19) Uses a modified version of `asset-loader` without Promises polyfill to unblock us tmp from publishing PP v5 SDK w/ AXO. | ||
## 1.1.0 | ||
- [#18](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/18) Adds support for loading PPCP & BT | ||
## 1.0.0 (Deprecated) | ||
Deprecated as the version | ||
- [#16](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/16) chore: update changelog and README | ||
- [#17](https://github.paypal.com/Checkout/accelerated-checkout-loader/pull/17) chore: update version to boba | ||
## 0.4.0 | ||
@@ -7,0 +25,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-beta.1", | ||
"description": "Loads AXO script", | ||
@@ -33,3 +33,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@braintree/asset-loader": "0.4.4", | ||
"@braintree/asset-loader": "2.0.0", | ||
"envify": "^4.1.0", | ||
@@ -50,3 +50,6 @@ "typescript": "^4.6.4" | ||
"typescript": "^4.6.4" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
} | ||
} |
@@ -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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
37748
25
835
2
1
+ Added@braintree/asset-loader@2.0.0(transitive)
- Removed@braintree/asset-loader@0.4.4(transitive)
- Removedpromise-polyfill@8.3.0(transitive)