@rebilly/instruments 16.130.0 → 16.132.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.
- package/CHANGELOG.md +2 -2
- package/README.md +14 -14
- package/dist/index.js +15 -8
- package/dist/index.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [16.
|
|
1
|
+
## [16.132.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.131.0...instruments/core-v16.132.0) (2026-06-17)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
* **
|
|
6
|
+
* **recomm, replay-elements, team-docs:** Extract ScoringStrategy into a named schema and rebuild SDK ([#22767](https://github.com/Rebilly/rebilly/issues/22767)) ([82dd5b4](https://github.com/Rebilly/rebilly/commit/82dd5b442850113ca5e229afef4c3f7079d4876f))
|
package/README.md
CHANGED
|
@@ -41,20 +41,20 @@ Enjoy 🎉
|
|
|
41
41
|
<div class="rebilly-instruments"></div>
|
|
42
42
|
|
|
43
43
|
<script type="text/javascript">
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
44
|
+
import RebillyInstruments from '@rebilly/instruments';
|
|
45
|
+
|
|
46
|
+
RebillyInstruments.mount({
|
|
47
|
+
publishableKey: 'pk_sandbox_123',
|
|
48
|
+
organizationId: 'org-123',
|
|
49
|
+
websiteId: 'my-website-id',
|
|
50
|
+
items: [
|
|
51
|
+
{
|
|
52
|
+
planId: 'my-plan-id',
|
|
53
|
+
quantity: 1,
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
// ...see documentation below for more options
|
|
57
|
+
});
|
|
58
58
|
</script>
|
|
59
59
|
```
|
|
60
60
|
|
package/dist/index.js
CHANGED
|
@@ -2097,9 +2097,17 @@ function changeIframeSrcHandler(iframe) {
|
|
|
2097
2097
|
}
|
|
2098
2098
|
const REBILLY_TO_REVEL_MAP = [
|
|
2099
2099
|
["colorPrimary", "--rebilly-colorPrimary", "--r-primary"],
|
|
2100
|
-
[
|
|
2100
|
+
[
|
|
2101
|
+
"colorPrimary",
|
|
2102
|
+
"--rebilly-buttonHoverColorBackground",
|
|
2103
|
+
"--r-primary-hover"
|
|
2104
|
+
],
|
|
2101
2105
|
["colorBackground", "--rebilly-colorBackground", "--r-background"],
|
|
2102
|
-
[
|
|
2106
|
+
[
|
|
2107
|
+
"colorBackground",
|
|
2108
|
+
"--rebilly-buttonSecondaryHoverColorBackground",
|
|
2109
|
+
"--r-surface"
|
|
2110
|
+
],
|
|
2103
2111
|
["colorText", "--rebilly-colorText", "--r-text"],
|
|
2104
2112
|
["colorText", "--rebilly-colorMutedText", "--r-text-muted"],
|
|
2105
2113
|
["colorText", "--rebilly-colorMutedBorder", "--r-border-muted"],
|
|
@@ -5771,7 +5779,7 @@ function O$1({ options: e2 }) {
|
|
|
5771
5779
|
}
|
|
5772
5780
|
function o2() {
|
|
5773
5781
|
const g = {
|
|
5774
|
-
"REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((m2) => m2).join("/")}@
|
|
5782
|
+
"REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((m2) => m2).join("/")}@82dd5b4`
|
|
5775
5783
|
};
|
|
5776
5784
|
return e2.apiKey && (g["REB-APIKEY"] = e2.apiKey), g;
|
|
5777
5785
|
}
|
|
@@ -12741,11 +12749,10 @@ async function cn({
|
|
|
12741
12749
|
}
|
|
12742
12750
|
};
|
|
12743
12751
|
}
|
|
12744
|
-
async function un({
|
|
12745
|
-
env:
|
|
12746
|
-
kountAccountId:
|
|
12747
|
-
|
|
12748
|
-
} = { env: null, kountAccountId: null }) {
|
|
12752
|
+
async function un({ env: e2 = null, kountAccountId: t2 = null, kountSessionId: n2 = null } = {
|
|
12753
|
+
env: null,
|
|
12754
|
+
kountAccountId: null
|
|
12755
|
+
}) {
|
|
12749
12756
|
return cn({
|
|
12750
12757
|
env: e2,
|
|
12751
12758
|
kountAccountId: t2,
|