@branta-ops/branta 1.0.0 → 1.0.1

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.
@@ -0,0 +1,11 @@
1
+ export interface ServerEnvironment {
2
+ value: number;
3
+ url: string;
4
+ }
5
+ export interface BrantaServerBaseUrlType {
6
+ Staging: ServerEnvironment;
7
+ Production: ServerEnvironment;
8
+ Localhost: ServerEnvironment;
9
+ }
10
+ declare const BrantaServerBaseUrl: BrantaServerBaseUrlType;
11
+ export default BrantaServerBaseUrl;
@@ -0,0 +1,6 @@
1
+ const BrantaServerBaseUrl = {
2
+ Staging: { value: 0, url: "https://staging.guardrail.branta.pro" },
3
+ Production: { value: 1, url: "https://guardrail.branta.pro" },
4
+ Localhost: { value: 2, url: "http://localhost:3000" },
5
+ };
6
+ export default BrantaServerBaseUrl;
@@ -1,5 +1,5 @@
1
1
  import BrantaClientOptions from "../classes/brantaClientOptions.js";
2
- export type DestinationType = 'bitcoin_address' | 'bolt11' | 'bolt12' | 'ln_url' | 'tether_address';
2
+ export type DestinationType = 'bitcoin_address' | 'ln_address' | 'bolt11' | 'bolt12' | 'ln_url' | 'tether_address' | 'ark_address';
3
3
  export interface Destination {
4
4
  value: string;
5
5
  type?: DestinationType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@branta-ops/branta",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A JavaScript SDK for the Branta API",
5
5
  "homepage": "https://github.com/BrantaOps/branta-js#readme",
6
6
  "bugs": {