tom-microservice 3.2.39 → 3.3.0-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/LICENSE CHANGED
File without changes
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  [![Coverage Status](https://img.shields.io/coveralls/Kikobeats/tom-microservice.svg?style=flat-square)](https://coveralls.io/github/Kikobeats/tom-microservice)
9
9
  [![NPM Status](https://img.shields.io/npm/dm/tom-microservice.svg?style=flat-square)](https://www.npmjs.org/package/tom-microservice)
10
10
 
11
- > Stripe API version: [2020-08-27](https://stripe.com/docs/upgrades#2020-08-27)
11
+ > Stripe API version: [2022-08-01](https://stripe.com/docs/upgrades#2022-08-01)
12
12
 
13
13
  **tom** 🐶 is a backoffice for your projects, oriented for doing things like:
14
14
 
package/bin/listen.js CHANGED
File without changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "tom-microservice",
3
3
  "description": "Tom creates customers, subscriptions plans & send notifications.",
4
4
  "homepage": "https://tom.js.org",
5
- "version": "3.2.39",
5
+ "version": "3.3.0-0",
6
6
  "main": "src",
7
7
  "bin": {
8
8
  "tom": "bin/index.js"
@@ -45,7 +45,7 @@
45
45
  "compression": "~1.7.4",
46
46
  "cors": "~2.8.5",
47
47
  "country-vat": "~1.0.6",
48
- "emittery": "~0.11.0",
48
+ "emittery": "~0.12.0",
49
49
  "express": "~4.18.1",
50
50
  "got": "~11.8.3",
51
51
  "helmet": "~5.1.1",
@@ -113,25 +113,6 @@
113
113
  "bin",
114
114
  "src"
115
115
  ],
116
- "scripts": {
117
- "build": "gulp build && untracked > .nowignore",
118
- "clean": "rm -rf node_modules",
119
- "coverage": "c8 report --reporter=text-lcov | coveralls",
120
- "dev": "svr src/router",
121
- "dev:docs": "concurrently \"gulp\" \"npm run dev:docs:server\"",
122
- "dev:docs:server": "browser-sync start --server --files \"index.html, README.md, static/**/*.(css|js)\"",
123
- "lint": "standard-markdown README.md && standard",
124
- "postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)",
125
- "prerelease": "npm run update:check",
126
- "pretest": "npm run lint",
127
- "release": "git-authors-cli && git add package.json && standard-version -a",
128
- "release:github": "conventional-github-releaser -p angular",
129
- "release:tags": "git push --follow-tags origin HEAD:master",
130
- "start": "tom",
131
- "test": "NODE_ENV=test c8 ava",
132
- "update": "ncu -i",
133
- "update:check": "ncu -- --error-level 2"
134
- },
135
116
  "license": "MIT",
136
117
  "ava": {
137
118
  "files": [
@@ -163,5 +144,24 @@
163
144
  "env": [
164
145
  "mocha"
165
146
  ]
147
+ },
148
+ "scripts": {
149
+ "build": "gulp build && untracked > .nowignore",
150
+ "clean": "rm -rf node_modules",
151
+ "coverage": "c8 report --reporter=text-lcov | coveralls",
152
+ "dev": "svr src/router",
153
+ "dev:docs": "concurrently \"gulp\" \"npm run dev:docs:server\"",
154
+ "dev:docs:server": "browser-sync start --server --files \"index.html, README.md, static/**/*.(css|js)\"",
155
+ "lint": "standard-markdown README.md && standard",
156
+ "postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)",
157
+ "prerelease": "npm run update:check",
158
+ "pretest": "npm run lint",
159
+ "release": "git-authors-cli && git add package.json && standard-version -a",
160
+ "release:github": "conventional-github-releaser -p angular",
161
+ "release:tags": "git push --follow-tags origin HEAD:master",
162
+ "start": "tom",
163
+ "test": "NODE_ENV=test c8 ava",
164
+ "update": "ncu -i",
165
+ "update:check": "ncu -- --error-level 2"
166
166
  }
167
- }
167
+ }
@@ -45,6 +45,9 @@ module.exports = ({ config }) => {
45
45
  subscription_data: {
46
46
  default_tax_rates: taxRate ? [taxRate.id] : undefined
47
47
  },
48
+ tax_id_collection: {
49
+ enabled: true
50
+ },
48
51
  success_url: successUrl,
49
52
  cancel_url: cancelUrl,
50
53
  metadata: { ...metadata, planId }