Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 17 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
branches:
- '**'
- '!integrated/**'
- '!stl-preview-head/**'
- '!stl-preview-base/**'
- '!generated'
- '!codegen/**'
- 'codegen/stl/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
Expand All @@ -29,7 +31,7 @@ jobs:
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: '10.27.0'
version: '10.30.1'

- name: Bootstrap
run: ./scripts/bootstrap
Expand All @@ -56,7 +58,7 @@ jobs:
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: '10.27.0'
version: '10.30.1'

- name: Bootstrap
run: ./scripts/bootstrap
Expand All @@ -65,14 +67,18 @@ jobs:
run: ./scripts/build

- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/superwall-api-typescript'
if: |-
github.repository == 'stainless-sdks/superwall-api-typescript' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Upload tarball
if: github.repository == 'stainless-sdks/superwall-api-typescript'
if: |-
github.repository == 'stainless-sdks/superwall-api-typescript' &&
!startsWith(github.ref, 'refs/heads/stl/')
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
Expand All @@ -94,7 +100,7 @@ jobs:
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: '10.27.0'
version: '10.30.1'

- name: Bootstrap
run: ./scripts/bootstrap
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.2.0"
".": "0.3.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 70
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/superwall-Makisuo%2Fsuperwall-api-109d1e707b32cc9084fc9e500ff5707afef0d9220920965bbf7e706bee6479ad.yml
openapi_spec_hash: 0c584d4d5bb3fb70e69bca0bcf18e58c
configured_endpoints: 69
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/superwall-Makisuo%2Fsuperwall-api-cf8b91e02da0ef29a715489a87e5aa43ebece4919bad09cc5cff2da1a9c91064.yml
openapi_spec_hash: 24fbfaf86db5cf138223595effa796e4
config_hash: dfc8fae1943177a610a7d4985af30c54
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

## 0.3.0 (2026-03-17)

Full Changelog: [v0.2.0...v0.3.0](https://github.com/superwall/superwall-sdk-typescript/compare/v0.2.0...v0.3.0)

### Features

* **api:** api update ([d81ecfa](https://github.com/superwall/superwall-sdk-typescript/commit/d81ecfa87012833217bccc44bc38a912a45e3892))
* **api:** api update ([5413bd3](https://github.com/superwall/superwall-sdk-typescript/commit/5413bd36c0829d75eb187312388344970a9332c8))
* **api:** api update ([8d9f822](https://github.com/superwall/superwall-sdk-typescript/commit/8d9f822c77e90aa559fba0adeb240a38f7ad61c8))
* **api:** api update ([588c5c2](https://github.com/superwall/superwall-sdk-typescript/commit/588c5c2904f44c595b1c4205d9328ac6b23c6d4d))
* **api:** api update ([141f0c6](https://github.com/superwall/superwall-sdk-typescript/commit/141f0c6b389bea367045be8e95d7935135f7e8d5))


### Bug Fixes

* **client:** preserve URL params already embedded in path ([7e60491](https://github.com/superwall/superwall-sdk-typescript/commit/7e6049110266a1e602f537c698332695285c2ec5))
* **docs/contributing:** correct pnpm link command ([e49c4f8](https://github.com/superwall/superwall-sdk-typescript/commit/e49c4f8f57731dcaaa4d35cb1f11b17119d2da9c))


### Chores

* **ci:** skip uploading artifacts on stainless-internal branches ([267fe7b](https://github.com/superwall/superwall-sdk-typescript/commit/267fe7b60a8a4e03ec6527a22ed84fdcfbcaeebe))
* **internal:** codegen related update ([40f2264](https://github.com/superwall/superwall-sdk-typescript/commit/40f2264835bdf0850935097359f6b07f40d972fd))
* **internal:** codegen related update ([8feb753](https://github.com/superwall/superwall-sdk-typescript/commit/8feb7538c0721b06762cde13134c86eec53224c8))
* **internal:** move stringifyQuery implementation to internal function ([2e7bc4d](https://github.com/superwall/superwall-sdk-typescript/commit/2e7bc4d4e465c2984c597107680c6649ceb01847))
* **internal:** tweak CI branches ([c06c80f](https://github.com/superwall/superwall-sdk-typescript/commit/c06c80fbd21de4f86fdc8f130f70c8241b949f2a))
* **internal:** update dependencies to address dependabot vulnerabilities ([8b3af18](https://github.com/superwall/superwall-sdk-typescript/commit/8b3af1813eaa6b0310ee4a1ef61ba87a006b8060))
* **internal:** upgrade pnpm version ([23d3f69](https://github.com/superwall/superwall-sdk-typescript/commit/23d3f693ca641beb13fb60b83e2e0f65fb123b0c))

## 0.2.0 (2026-02-23)

Full Changelog: [v0.1.1...v0.2.0](https://github.com/superwall/superwall-sdk-typescript/compare/v0.1.1...v0.2.0)
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ $ yarn link superwall-api
# With pnpm
$ pnpm link --global
$ cd ../my-package
$ pnpm link -global superwall-api
$ pnpm link --global superwall-api
```

## Running tests
Expand Down
2 changes: 0 additions & 2 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ Types:
- <code><a href="./src/resources/users/users.ts">BooleanFromString</a></code>
- <code><a href="./src/resources/users/users.ts">UserListEventNamesResponse</a></code>
- <code><a href="./src/resources/users/users.ts">UserListFilterPropertiesResponse</a></code>
- <code><a href="./src/resources/users/users.ts">UserQueryResponse</a></code>
- <code><a href="./src/resources/users/users.ts">UserResolveResponse</a></code>
- <code><a href="./src/resources/users/users.ts">UserRetrieveActiveEntitlementsResponse</a></code>
- <code><a href="./src/resources/users/users.ts">UserRetrieveAttributesResponse</a></code>
Expand All @@ -246,7 +245,6 @@ Methods:

- <code title="get /v2/users/event-names">client.users.<a href="./src/resources/users/users.ts">listEventNames</a>({ ...params }) -> UserListEventNamesResponse</code>
- <code title="get /v2/users/filter-properties">client.users.<a href="./src/resources/users/users.ts">listFilterProperties</a>({ ...params }) -> UserListFilterPropertiesResponse</code>
- <code title="post /v2/users/query">client.users.<a href="./src/resources/users/users.ts">query</a>({ ...params }) -> UserQueryResponse</code>
- <code title="get /v2/users/resolve">client.users.<a href="./src/resources/users/users.ts">resolve</a>({ ...params }) -> UserResolveResponse</code>
- <code title="get /v2/users/{app_user_id}/active-entitlements">client.users.<a href="./src/resources/users/users.ts">retrieveActiveEntitlements</a>(appUserID, { ...params }) -> UserRetrieveActiveEntitlementsResponse</code>
- <code title="get /v2/users/{app_user_id}/attributes">client.users.<a href="./src/resources/users/users.ts">retrieveAttributes</a>(appUserID, { ...params }) -> UserRetrieveAttributesResponse</code>
Expand Down
15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "superwall-api",
"version": "0.2.0",
"version": "0.3.0",
"description": "The official TypeScript library for the Superwall API",
"author": "Superwall API <>",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"type": "commonjs",
"repository": "github:superwall/superwall-sdk-typescript",
"license": "Apache-2.0",
"packageManager": "pnpm@10.27.0",
"packageManager": "pnpm@10.30.1",
"files": [
"**/*"
],
Expand Down Expand Up @@ -50,6 +50,17 @@
"typescript": "5.8.3",
"typescript-eslint": "8.31.1"
},
"overrides": {
"minimatch": "^9.0.5"
},
"pnpm": {
"overrides": {
"minimatch": "^9.0.5"
}
},
"resolutions": {
"minimatch": "^9.0.5"
},
"exports": {
".": {
"import": "./dist/index.mjs",
Expand Down
Loading
Loading