skynet-mysky-utils
Advanced tools
Comparing version 0.1.0 to 0.1.1
# Changelog | ||
## [0.1.1] | ||
### Added | ||
- CheckPermissionResponse type | ||
## [0.1.0] | ||
@@ -4,0 +10,0 @@ |
@@ -6,8 +6,9 @@ export { Permission, PermCategory, PermType, PermDiscoverable, PermHidden, PermLegacySkyID, PermRead, PermWrite } from "./permissions"; | ||
export { errorWindowClosed, ErrorHolder, monitorWindowError } from "./window-listener"; | ||
import { Permission } from "./permissions"; | ||
export declare const defaultHandshakeMaxAttempts = 100; | ||
export declare const defaultHandshakeAttemptsInterval = 100; | ||
export declare class SkappInfo { | ||
domain: string; | ||
constructor(domain: string); | ||
} | ||
export declare type CheckPermissionsResponse = { | ||
grantedPermissions: Permission[]; | ||
failedPermissions: Permission[]; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -10,3 +10,3 @@ "use strict"; | ||
exports.__esModule = true; | ||
exports.SkappInfo = exports.defaultHandshakeAttemptsInterval = exports.defaultHandshakeMaxAttempts = exports.monitorWindowError = exports.ErrorHolder = exports.errorWindowClosed = exports.ensureUrl = exports.createIframe = exports.createFullScreenIframe = exports.PromiseController = exports.monitorOtherListener = exports.listenForStorageEvent = exports.emitStorageEvent = exports.defaultWindowTimeout = exports.PermWrite = exports.PermRead = exports.PermLegacySkyID = exports.PermHidden = exports.PermDiscoverable = exports.PermType = exports.PermCategory = exports.Permission = void 0; | ||
exports.defaultHandshakeAttemptsInterval = exports.defaultHandshakeMaxAttempts = exports.monitorWindowError = exports.ErrorHolder = exports.errorWindowClosed = exports.ensureUrl = exports.createIframe = exports.createFullScreenIframe = exports.PromiseController = exports.monitorOtherListener = exports.listenForStorageEvent = exports.emitStorageEvent = exports.defaultWindowTimeout = exports.PermWrite = exports.PermRead = exports.PermLegacySkyID = exports.PermHidden = exports.PermDiscoverable = exports.PermType = exports.PermCategory = exports.Permission = void 0; | ||
var permissions_1 = require("./permissions"); | ||
@@ -38,9 +38,2 @@ __createBinding(exports, permissions_1, "Permission"); | ||
exports.defaultHandshakeAttemptsInterval = 100; | ||
var SkappInfo = /** @class */ (function () { | ||
function SkappInfo(domain) { | ||
this.domain = domain; | ||
} | ||
return SkappInfo; | ||
}()); | ||
exports.SkappInfo = SkappInfo; | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
// TODO: Remove this file | ||
exports.__esModule = true; | ||
@@ -3,0 +4,0 @@ exports.monitorOtherListener = exports.emitStorageEvent = exports.listenForStorageEvent = exports.PromiseController = exports.defaultWindowTimeout = void 0; |
{ | ||
"name": "skynet-mysky-utils", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Skynet common MySky utilities", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -27,7 +27,10 @@ export { | ||
import { Permission } from "./permissions"; | ||
export const defaultHandshakeMaxAttempts = 100; | ||
export const defaultHandshakeAttemptsInterval = 100; | ||
export class SkappInfo { | ||
constructor(public domain: string) {} | ||
export type CheckPermissionsResponse = { | ||
grantedPermissions: Permission[], | ||
failedPermissions: Permission[], | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
36819
682