Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 19a296ab9a | |||
| a72989402e | |||
| 3556c0b035 |
@@ -35,6 +35,9 @@ jobs:
|
|||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
needs: check
|
needs: check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -55,4 +58,4 @@ jobs:
|
|||||||
- name: Publish
|
- name: Publish
|
||||||
run: npm publish
|
run: npm publish
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.5.1
|
||||||
|
|
||||||
|
- `QuestMetrics` / `reportProgress`: custom free-text metrics no longer
|
||||||
|
progress quests. Report a released catalog counter slug instead.
|
||||||
|
`purchaseOffer` / `purchaseItem` helpers are unchanged (server-side shop
|
||||||
|
fan-out).
|
||||||
|
|
||||||
## 0.5.0
|
## 0.5.0
|
||||||
|
|
||||||
- `client.auth.loginWithCustom({ customData, region?, language?, nickname? })`
|
- `client.auth.loginWithCustom({ customData, region?, language?, nickname? })`
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@rudder/js-sdk",
|
"name": "@rudder/js-sdk",
|
||||||
"version": "0.5.0",
|
"version": "0.5.1",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://hub.rudder.build/api/packages/rudder/npm/"
|
"registry": "https://hub.rudder.build/api/packages/rudder/npm/"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,8 +3,9 @@
|
|||||||
*
|
*
|
||||||
* Purchase metrics are reported automatically server-side by the shop
|
* Purchase metrics are reported automatically server-side by the shop
|
||||||
* purchase fan-out, so these helpers exist mainly to name the format
|
* purchase fan-out, so these helpers exist mainly to name the format
|
||||||
* instead of hardcoding it. Any other metric is a custom string reported via
|
* instead of hardcoding it. Catalog counter slugs are reported via
|
||||||
* {@link QuestsService.reportProgress}.
|
* {@link QuestsService.reportProgress}. Custom free-text metrics no longer
|
||||||
|
* progress quests — they no-op at runtime.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** Metric for purchasing a store offer; auto-reported on purchase. */
|
/** Metric for purchasing a store offer; auto-reported on purchase. */
|
||||||
|
|||||||
Reference in New Issue
Block a user