0.1.18 • Published 2 years ago

@cityzenith/swpsdk v0.1.18

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Node.JS SDK for SmartWorldPro

to use, install @cityzenith/swpsdk there's a "testing" folder in c9 client/sdk/ where the packaged project can be installed and tested

this package exports ESM modules. IMPORTANT in order to run a node project that uses this one, you NEED to call it with the --experimental-specifier-resolution=node flag, like so:

node --experimental-specifier-resolution=node yourprogram.js

to run tests, use npx jest

there are two tsconfig files. one is for writing code, the other is for compiling and building the package. we might be able to use only one.

to compile new versions: 1 - bump version number in package.json 2 - npx tsc -p tsconfig-build.json 3 - npm publish I'll script this stuff later

this project uses graphql introspection to pull the schemas and transform those to types. we get project-side checking. these schemas might have to be updated if the APIs change, check out the scripts to run the codegen and do it.

0.1.16

2 years ago

0.1.17

2 years ago

0.1.18

2 years ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

2.2.1

2 years ago

1.0.0

2 years ago