@interval/sdk
Advanced tools
Comparing version 0.25.0 to 0.25.1
@@ -10,2 +10,3 @@ /// <reference types="node" /> | ||
#private; | ||
actions: ExperimentalActions; | ||
constructor(config: InternalConfig); | ||
@@ -12,0 +13,0 @@ addGroup(prefix: string, group: ActionGroup): void; |
@@ -35,2 +35,3 @@ import Actions from './classes/Actions'; | ||
config: InternalConfig; | ||
actions: Actions; | ||
organization: { | ||
@@ -42,4 +43,2 @@ name: string; | ||
constructor(config: InternalConfig); | ||
get actions(): Actions; | ||
set actions(actions: Actions); | ||
protected get apiKey(): string | undefined; | ||
@@ -46,0 +45,0 @@ protected get httpEndpoint(): string; |
@@ -39,3 +39,3 @@ "use strict"; | ||
}; | ||
var _Interval_instances, _Interval_logger, _Interval_client, _Interval_apiKey, _Interval_httpEndpoint, _Interval_actions, _Interval_log_get; | ||
var _Interval_instances, _Interval_logger, _Interval_client, _Interval_apiKey, _Interval_httpEndpoint, _Interval_log_get; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -93,3 +93,2 @@ exports.IOError = exports.Interval = exports.ctx = exports.io = exports.getActionStore = exports.IntervalError = void 0; | ||
_Interval_httpEndpoint.set(this, void 0); | ||
_Interval_actions.set(this, void 0); | ||
this.config = config; | ||
@@ -99,10 +98,4 @@ __classPrivateFieldSet(this, _Interval_apiKey, config.apiKey, "f"); | ||
__classPrivateFieldSet(this, _Interval_httpEndpoint, (0, IntervalClient_1.getHttpEndpoint)((_a = config.endpoint) !== null && _a !== void 0 ? _a : IntervalClient_1.DEFAULT_WEBSOCKET_ENDPOINT), "f"); | ||
__classPrivateFieldSet(this, _Interval_actions, new Actions_1.default(this, __classPrivateFieldGet(this, _Interval_httpEndpoint, "f"), __classPrivateFieldGet(this, _Interval_logger, "f"), __classPrivateFieldGet(this, _Interval_apiKey, "f")), "f"); | ||
this.actions = new Actions_1.default(this, __classPrivateFieldGet(this, _Interval_httpEndpoint, "f"), __classPrivateFieldGet(this, _Interval_logger, "f"), __classPrivateFieldGet(this, _Interval_apiKey, "f")); | ||
} | ||
get actions() { | ||
return __classPrivateFieldGet(this, _Interval_actions, "f"); | ||
} | ||
/* @internal */ set actions(actions) { | ||
__classPrivateFieldSet(this, _Interval_actions, actions, "f"); | ||
} | ||
get apiKey() { | ||
@@ -171,4 +164,4 @@ return __classPrivateFieldGet(this, _Interval_apiKey, "f"); | ||
exports.Interval = Interval; | ||
_Interval_logger = new WeakMap(), _Interval_client = new WeakMap(), _Interval_apiKey = new WeakMap(), _Interval_httpEndpoint = new WeakMap(), _Interval_actions = new WeakMap(), _Interval_instances = new WeakSet(), _Interval_log_get = function _Interval_log_get() { | ||
_Interval_logger = new WeakMap(), _Interval_client = new WeakMap(), _Interval_apiKey = new WeakMap(), _Interval_httpEndpoint = new WeakMap(), _Interval_instances = new WeakSet(), _Interval_log_get = function _Interval_log_get() { | ||
return __classPrivateFieldGet(this, _Interval_logger, "f"); | ||
}; |
{ | ||
"name": "@interval/sdk", | ||
"version": "0.25.0", | ||
"version": "0.25.1", | ||
"homepage": "https://interval.com", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
513573
11818