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 14
14
node-version : 12
15
15
registry-url : https://registry.npmjs.org/
16
16
- run : npm install
17
- - run : npm publish --access public --tag next
17
+ - run : npm publish --access public
18
18
env :
19
19
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 1
1
# Patch Javascript SDK
2
2
3
3
![ 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 )
4
5
[ ![ Discord] ( https://img.shields.io/discord/733029448558837792 )] ( https://discord.gg/M23NnGR )
5
6
6
7
The official Javascript package for the [ Patch API] ( https://www.usepatch.com )
@@ -39,7 +40,7 @@ import Patch from '@patch-technology/patch';
39
40
const patch = Patch (' key_test_1234' );
40
41
41
42
// ES5
42
- var patch = require (' @patch-technology/patch' )(' key_test_1234' );
43
+ var patch = require (' @patch-technology/patch' ). default (' key_test_1234' );
43
44
```
44
45
45
46
### Orders
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @patch-technology/patch" ,
3
- "version" : " 1.0.0-rc.2 " ,
3
+ "version" : " 1.0.0" ,
4
4
"description" : " Javascript wrapper for the Patch API" ,
5
5
"license" : " MIT" ,
6
6
"repository" : {
48
48
"files" : [
49
49
" dist"
50
50
],
51
+ "keywords" : [
52
+ " carbon" ,
53
+ " offset" ,
54
+ " patch" ,
55
+ " sustainability" ,
56
+ " carbon neutral" ,
57
+ " carbon removal" ,
58
+ " carbon sequestration" ,
59
+ " trees" ,
60
+ " api"
61
+ ],
51
62
"husky" : {
52
63
"hooks" : {
53
64
"pre-commit" : " npx prettier --write ."
You can’t perform that action at this time.
0 commit comments