2.9.2 • Published 3 years ago

juno-node-sdk v2.9.2

Weekly downloads
132
License
MIT
Repository
github
Last release
3 years ago

Juno Node SDK

Initialization

The initialization can be performed either by ENVIRONMENT variables or by JunoSDK constructor.

Environment variables

You must set following environment variables:

# V2 API only
export JUNO_CLIENT_ID=YOUR_CLIENT_ID
export JUNO_SECRET=YOUR_SECRET

# V1 and V2
export JUNO_TOKEN=YOUR_TOKEN
export JUNO_ENV=sandbox|production

JunoSDK constructor

/*
* For V1
*/
export { JunoSDK, JunoEnvironments } from 'juno-node-sdk';

const juno = new JunoSDK({
  token: 'YOUR_TOKEN',
  environment: JunoEnvironments.Sandbox
});

/*
* For V2
*/
export { V2 } from 'juno-node-sdk';

const { JunoSDK, JunoEnvironments } = V2;

const juno = new JunoSDK({
  token: 'YOUR_TOKEN',
  clientId: 'YOUR_CLIENT_ID',
  secret: 'YOUR_SECRET'
  environment: JunoEnvironments.Sandbox
})
2.9.2

3 years ago

2.8.0

3 years ago

2.9.1

3 years ago

2.9.0

3 years ago

2.7.0

3 years ago

2.6.1

3 years ago

2.6.0

4 years ago

2.5.2

4 years ago

2.5.1

4 years ago

2.5.0

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.3

5 years ago

2.1.2

5 years ago

2.1.3

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.11

5 years ago

2.0.10

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago