@simplito/privmx-webendpoint
Version:
PrivMX Web Endpoint library
27 lines (24 loc) • 684 B
JavaScript
;
/*!
PrivMX Web Endpoint.
Copyright © 2024 Simplito sp. z o.o.
This file is part of the PrivMX Platform (https://privmx.dev).
This software is Licensed under the PrivMX Free License.
See the License for the specific language governing permissions and
limitations under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApiStatic = void 0;
class ApiStatic {
static instance;
static init(api) {
this.instance = api;
}
static getInstance() {
if (!this.instance) {
throw new Error("API Static not initialized");
}
return this.instance;
}
}
exports.ApiStatic = ApiStatic;