Skip to content

Commit e56303f

Browse files
authored
chore(firestore-stripe-payments): migrate sdk to Invertase
1 parent 7248bb1 commit e56303f

File tree

138 files changed

+145
-145
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+145
-145
lines changed

firestore-stripe-web-sdk/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ the extension to use.
2424

2525
```js
2626
import { getApp } from "@firebase/app";
27-
import { getStripePayments } from "@stripe/firestore-stripe-payments";
27+
import { getStripePayments } from "@invertase/firestore-stripe-payments";
2828

2929
const app = getApp();
3030
const payments = getStripePayments(app, {
@@ -39,7 +39,7 @@ To fetch all the active products along with their prices, call the
3939
`getProducts()` function as follows:
4040

4141
```js
42-
import { getProducts } from "@stripe/firestore-stripe-payments";
42+
import { getProducts } from "@invertase/firestore-stripe-payments";
4343

4444
const products = await getProducts(payments, {
4545
includePrices: true,
@@ -56,7 +56,7 @@ the products without the prices only requires 1 Firestore query.
5656
You can also specify filters and limits on the product query as follows:
5757

5858
```js
59-
import { getProducts } from "@stripe/firestore-stripe-payments";
59+
import { getProducts } from "@invertase/firestore-stripe-payments";
6060

6161
const products = await getProducts(payments, {
6262
includePrices: true,
@@ -75,7 +75,7 @@ for (const product of products) {
7575
## Start a subscription checkout session
7676

7777
```js
78-
import { createCheckoutSession } from "@stripe/firestore-stripe-payments";
78+
import { createCheckoutSession } from "@invertase/firestore-stripe-payments";
7979

8080
const session = await createCheckoutSession(payments, {
8181
price: myPriceId,
@@ -88,7 +88,7 @@ Calling `createCheckoutSession()` as shown above will use the current page
8888
can specify your own URLs as follows:
8989

9090
```js
91-
import { createCheckoutSession } from "@stripe/firestore-stripe-payments";
91+
import { createCheckoutSession } from "@invertase/firestore-stripe-payments";
9292

9393
const session = await createCheckoutSession(payments, {
9494
price: myPriceId,
@@ -101,7 +101,7 @@ window.location.assign(session.url);
101101
To create a checkout session for more than one item, pass `line_items`:
102102

103103
```js
104-
import { createCheckoutSession } from "@stripe/firestore-stripe-payments";
104+
import { createCheckoutSession } from "@invertase/firestore-stripe-payments";
105105

106106
const session = await createCheckoutSession(payments, {
107107
line_items: [
@@ -118,7 +118,7 @@ Once a subscription checkout session has been created, you can listen to the
118118
Stripe subscription update events as follows:
119119

120120
```js
121-
import { onCurrentUserSubscriptionUpdate } from "@stripe/firestore-stripe-payments";
121+
import { onCurrentUserSubscriptionUpdate } from "@invertase/firestore-stripe-payments";
122122

123123
onCurrentUserSubscriptionUpdate(
124124
payments,

firestore-stripe-web-sdk/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ echo
2424
if [[ ! "${REPLY}" =~ ^[Yy]$ ]]; then exit 1; fi
2525

2626
# verify that we have updated the patch/release version
27-
public_sdk_version=$(npm view @stripe/firestore-stripe-payments version)
27+
public_sdk_version=$(npm view @invertase/firestore-stripe-payments version)
2828
local_sdk_version=$(npm version | sed -n '2'p | cut -d : -f 2 | cut -d , -f 1 | cut -d \' -f 2)
2929
if [[ "${public_sdk_version}" == "${local_sdk_version}" ]]; then
3030
echo "${RED}ERROR:${RESET} Your local web-sdk version matches the public web-sdk version. Please bump the version with ${BOLD}npm version patch${RESET} or a similar command"

firestore-stripe-web-sdk/etc/firestore-stripe-payments.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## API Report File for "@stripe/firestore-stripe-payments"
1+
## API Report File for "@invertase/firestore-stripe-payments"
22

33
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
44

firestore-stripe-web-sdk/markdown/firestore-stripe-payments.commonlineitemparams.description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
22

3-
[Home](./index.md) &gt; [@stripe/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonLineItemParams](./firestore-stripe-payments.commonlineitemparams.md) &gt; [description](./firestore-stripe-payments.commonlineitemparams.description.md)
3+
[Home](./index.md) &gt; [@invertase/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonLineItemParams](./firestore-stripe-payments.commonlineitemparams.md) &gt; [description](./firestore-stripe-payments.commonlineitemparams.description.md)
44

55
## CommonLineItemParams.description property
66

firestore-stripe-web-sdk/markdown/firestore-stripe-payments.commonlineitemparams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
22

3-
[Home](./index.md) &gt; [@stripe/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonLineItemParams](./firestore-stripe-payments.commonlineitemparams.md)
3+
[Home](./index.md) &gt; [@invertase/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonLineItemParams](./firestore-stripe-payments.commonlineitemparams.md)
44

55
## CommonLineItemParams interface
66

firestore-stripe-web-sdk/markdown/firestore-stripe-payments.commonlineitemparams.quantity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
22

3-
[Home](./index.md) &gt; [@stripe/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonLineItemParams](./firestore-stripe-payments.commonlineitemparams.md) &gt; [quantity](./firestore-stripe-payments.commonlineitemparams.quantity.md)
3+
[Home](./index.md) &gt; [@invertase/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonLineItemParams](./firestore-stripe-payments.commonlineitemparams.md) &gt; [quantity](./firestore-stripe-payments.commonlineitemparams.quantity.md)
44

55
## CommonLineItemParams.quantity property
66

firestore-stripe-web-sdk/markdown/firestore-stripe-payments.commonsessioncreateparams.allow_promotion_codes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
22

3-
[Home](./index.md) &gt; [@stripe/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonSessionCreateParams](./firestore-stripe-payments.commonsessioncreateparams.md) &gt; [allow\_promotion\_codes](./firestore-stripe-payments.commonsessioncreateparams.allow_promotion_codes.md)
3+
[Home](./index.md) &gt; [@invertase/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonSessionCreateParams](./firestore-stripe-payments.commonsessioncreateparams.md) &gt; [allow\_promotion\_codes](./firestore-stripe-payments.commonsessioncreateparams.allow_promotion_codes.md)
44

55
## CommonSessionCreateParams.allow\_promotion\_codes property
66

firestore-stripe-web-sdk/markdown/firestore-stripe-payments.commonsessioncreateparams.automatic_tax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
22

3-
[Home](./index.md) &gt; [@stripe/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonSessionCreateParams](./firestore-stripe-payments.commonsessioncreateparams.md) &gt; [automatic\_tax](./firestore-stripe-payments.commonsessioncreateparams.automatic_tax.md)
3+
[Home](./index.md) &gt; [@invertase/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonSessionCreateParams](./firestore-stripe-payments.commonsessioncreateparams.md) &gt; [automatic\_tax](./firestore-stripe-payments.commonsessioncreateparams.automatic_tax.md)
44

55
## CommonSessionCreateParams.automatic\_tax property
66

firestore-stripe-web-sdk/markdown/firestore-stripe-payments.commonsessioncreateparams.cancel_url.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
22

3-
[Home](./index.md) &gt; [@stripe/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonSessionCreateParams](./firestore-stripe-payments.commonsessioncreateparams.md) &gt; [cancel\_url](./firestore-stripe-payments.commonsessioncreateparams.cancel_url.md)
3+
[Home](./index.md) &gt; [@invertase/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonSessionCreateParams](./firestore-stripe-payments.commonsessioncreateparams.md) &gt; [cancel\_url](./firestore-stripe-payments.commonsessioncreateparams.cancel_url.md)
44

55
## CommonSessionCreateParams.cancel\_url property
66

firestore-stripe-web-sdk/markdown/firestore-stripe-payments.commonsessioncreateparams.client_reference_id.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
22

3-
[Home](./index.md) &gt; [@stripe/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonSessionCreateParams](./firestore-stripe-payments.commonsessioncreateparams.md) &gt; [client\_reference\_id](./firestore-stripe-payments.commonsessioncreateparams.client_reference_id.md)
3+
[Home](./index.md) &gt; [@invertase/firestore-stripe-payments](./firestore-stripe-payments.md) &gt; [CommonSessionCreateParams](./firestore-stripe-payments.commonsessioncreateparams.md) &gt; [client\_reference\_id](./firestore-stripe-payments.commonsessioncreateparams.client_reference_id.md)
44

55
## CommonSessionCreateParams.client\_reference\_id property
66

0 commit comments

Comments
 (0)