File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1414 node-version : 12
1515 registry-url : https://registry.npmjs.org/
1616 - run : npm install
17- - run : npm publish --access public --tag next
17+ - run : npm publish --access public
1818 env :
1919 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 11# Patch Javascript SDK
22
33![ Test] ( https://github.com/patch-technology/patch-node/workflows/Test/badge.svg )
4+ [ ![ npm version] ( https://badge.fury.io/js/%40patch-technology%2Fpatch@2x.png )] ( https://badge.fury.io/js/%40patch-technology%2Fpatch )
45[ ![ Discord] ( https://img.shields.io/discord/733029448558837792 )] ( https://discord.gg/M23NnGR )
56
67The official Javascript package for the [ Patch API] ( https://www.usepatch.com )
@@ -39,7 +40,7 @@ import Patch from '@patch-technology/patch';
3940const patch = Patch (' key_test_1234' );
4041
4142// ES5
42- var patch = require (' @patch-technology/patch' )(' key_test_1234' );
43+ var patch = require (' @patch-technology/patch' ). default (' key_test_1234' );
4344```
4445
4546### Orders
Original file line number Diff line number Diff line change 11{
22 "name" : " @patch-technology/patch" ,
3- "version" : " 1.0.0-rc.2 " ,
3+ "version" : " 1.0.0" ,
44 "description" : " Javascript wrapper for the Patch API" ,
55 "license" : " MIT" ,
66 "repository" : {
4848 "files" : [
4949 " dist"
5050 ],
51+ "keywords" : [
52+ " carbon" ,
53+ " offset" ,
54+ " patch" ,
55+ " sustainability" ,
56+ " carbon neutral" ,
57+ " carbon removal" ,
58+ " carbon sequestration" ,
59+ " trees" ,
60+ " api"
61+ ],
5162 "husky" : {
5263 "hooks" : {
5364 "pre-commit" : " npx prettier --write ."
You can’t perform that action at this time.
0 commit comments