@cloudbase/functions
Advanced tools
Comparing version 1.2.1 to 1.2.2-alpha.0
import { ICloudbase } from '@cloudbase/types'; | ||
export declare function registerFunctions(app: ICloudbase): void; | ||
export declare function registerFunctions(app: Pick<ICloudbase, 'registerComponent'>): void; |
@@ -164,2 +164,2 @@ "use strict"; | ||
exports.registerFunctions = registerFunctions; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBR0Esa0RBQStEO0FBSXZELElBQUEsVUFBVSxHQUFpQyxxQkFBUyxXQUExQyxFQUFFLE1BQU0sR0FBeUIscUJBQVMsT0FBbEMsRUFBRSxrQkFBa0IsR0FBSyxxQkFBUyxtQkFBZCxDQUFlO0FBQ3JELElBQUEsWUFBWSxHQUFLLGlCQUFLLGFBQVYsQ0FBVztBQUN2QixJQUFBLG9CQUFvQixHQUFLLG1CQUFPLHFCQUFaLENBQWE7QUFFekMsSUFBTSxjQUFjLEdBQUcsV0FBVyxDQUFDO0FBRW5DO0lBQUE7SUF5RUEsQ0FBQztJQTFEYyx5Q0FBWSxHQUF6QixVQUEwQixPQUE0QixFQUFDLFFBQWtCOzs7Ozs7d0JBQy9ELElBQUksR0FBaUMsT0FBTyxLQUF4QyxFQUFFLElBQUksR0FBMkIsT0FBTyxLQUFsQyxFQUFFLEtBQUssR0FBb0IsT0FBTyxNQUEzQixFQUFFLEtBQUssR0FBYSxPQUFPLE1BQXBCLEVBQUUsTUFBTSxHQUFLLE9BQU8sT0FBWixDQUFhO3dCQUNyRCxJQUFJLENBQUMsSUFBSSxFQUFFOzRCQUNULE1BQU0sSUFBSSxLQUFLLENBQUMsSUFB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5kYXRhLnJlc3BvbnNlX2RhdGE7XG4gICAgICAgIC8vIHBhcnNlIOS4uiB0cnVlIOaXtuacjeWKoeerr+ino+aekCBKU09O77yMU0RLIOS4jeWGjeasoeino+aekFxuICAgICAgICBpZiAocGFyc2UpIHtcbiAgICAgICAgICByZXR1cm4gZXhlY0NhbGxiYWNrKGNhbGxiYWNrLG51bGwsIHtcbiAgICAgICAgICAgIHJlc3VsdCxcbiAgICAgICAgICAgIHJlcXVlc3RJZDogcmVzLnJlcXVlc3RJZFxuICAgICAgICAgIH0pO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICByZXN1bHQgPSBKU09OLnBhcnNlKHJlcy5kYXRhLnJlc3BvbnNlX2RhdGEpO1xuICAgICAgICAgICAgcmV0dXJuIGV4ZWNDYWxsYmFjayhjYWxsYmFjaywgbnVsbCwge1xuICAgICAgICAgICAgICByZXN1bHQsXG4gICAgICAgICAgICAgIHJlcXVlc3RJZDogcmVzLnJlcXVlc3RJZFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgZXhlY0NhbGxiYWNrKGNhbGxiYWNrLCBuZXcgRXJyb3IoYFske2dldFNka05hbWUoKX1dWyR7RVJST1JTLklOVkFMSURfUEFSQU1TfV1bJHtDT01QT05FTlRfTkFNRX0uY2FsbEZ1bmN0aW9uXSByZXNwb25zZSBkYXRhIG11c3QgYmUganNvbmApKTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9Y2F0Y2goZSl7XG4gICAgICBleGVjQ2FsbGJhY2soY2FsbGJhY2ssZSk7XG4gICAgfVxuICB9XG59XG5cbmNvbnN0IGNsb3VkYmFzZUZ1bmN0aW9ucyA9IG5ldyBDbG91ZGJhc2VGdW5jdGlvbnMoKTtcblxuY29uc3QgY29tcG9uZW50OklDbG91ZGJhc2VDb21wb25lbnQgPSB7XG4gIG5hbWU6IENP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VxufVxuXG5jb25zdCBjbG91ZGJhc2VGdW5jdGlvbnMgPSBuZXcgQ2xvdWRiYXNlRnVuY3Rpb25zKCk7XG5cbmNvbnN0IGNvbXBvbmVudDpJQ2xvdWRiYXNlQ29tcG9uZW50ID0ge1xuICBuYW1lOiBDT01QT05FTlRfTkFNRSxcbiAgZW50aXR5OiB7XG4gICAgY2FsbEZ1bmN0aW9uOiBjbG91ZGJhc2VGdW5jdGlvbnMuY2FsbEZ1bmN0aW9uXG4gIH1cbn1cbnRyeXtcbiAgY2xvdWRiYXNlLnJlZ2lzdGVyQ29tcG9uZW50KGNvbXBvbmVudCk7XG59Y2F0Y2goZSl7fVxuXG5leHBvcnQgZnVuY3Rpb24gcmVnaXN0ZXJGdW5jdGlvbnMoYXBwOlBpY2s8SUNsb3VkYmFzZSwgJ3JlZ2lzdGVyQ29tcG9uZW50Jz4pe1xuICBhcHAucmVnaXN0ZXJDb21wb25lbnQoY29tcG9uZW50KTtcbn0iXX0= |
import { ICloudbase } from '@cloudbase/types'; | ||
export declare function registerFunctions(app: ICloudbase): void; | ||
export declare function registerFunctions(app: Pick<ICloudbase, 'registerComponent'>): void; |
@@ -160,2 +160,2 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBR0EsT0FBTyxFQUFFLFNBQVMsRUFBQyxLQUFLLEVBQUMsT0FBTyxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFJdkQsSUFBQSxVQUFVLEdBQWlDLFNBQVMsV0FBMUMsRUFBRSxNQUFNLEdBQXlCLF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lckNvbXBvbmVudChjb21wb25lbnQpO1xufSJdfQ== |
{ | ||
"name": "@cloudbase/functions", | ||
"version": "1.2.1", | ||
"version": "1.2.2-alpha.0", | ||
"description": "cloudbase javascript sdk functions componets", | ||
@@ -31,4 +31,4 @@ "main": "dist/cjs/index.js", | ||
"@cloudbase/adapter-interface": "^0.4.0", | ||
"@cloudbase/types": "^1.1.0", | ||
"@cloudbase/utilities": "^1.2.1" | ||
"@cloudbase/types": "^1.1.1-alpha.0", | ||
"@cloudbase/utilities": "^1.2.2-alpha.0" | ||
}, | ||
@@ -54,3 +54,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "ba375c45666a7c9d1b356fb8849dc1db899f0be4" | ||
"gitHead": "bbb019ddad04c82d4d7bcff400d27d195c306e84" | ||
} |
@@ -101,4 +101,4 @@ import { ICloudbase } from '@cloudbase/types'; | ||
export function registerFunctions(app:ICloudbase){ | ||
export function registerFunctions(app:Pick<ICloudbase, 'registerComponent'>){ | ||
app.registerComponent(component); | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
39264
2