Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@web-lite/api-types

Package Overview
Dependencies
Maintainers
6
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web-lite/api-types - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

4

CHANGELOG.md
# Changelog
## [v1.3.0](https://github.com/weblite-wapps/api-types/tree/v1.3.0) (2021-09-19)
[Full Changelog](https://github.com/weblite-wapps/api-types/compare/v1.2.1...v1.3.0)
## [v1.2.1](https://github.com/weblite-wapps/api-types/tree/v1.2.1) (2021-07-27)

@@ -4,0 +8,0 @@

@@ -131,2 +131,14 @@ import { MessageContent, ChatInfo, IMock } from './index';

};
export declare const getWappActivity: () => {
search: (args: {
[key: string]: any;
} & {
instance: string;
}) => Promise<any>;
postActivity: (args: {
[key: string]: any;
} & {
instance: string;
}) => Promise<void>;
};
export {};

@@ -74,3 +74,3 @@ "use strict";

exports.__esModule = true;
exports.getShareDBMock = exports.getImageMock = exports.getAnalyticsMock = exports.getAudioMock = exports.getMessageMock = exports.getChatMock = exports.getWappsMock = exports.getUsersMock = exports.getUserMock = exports.initializeAsync = exports.setHooks = exports.setDefaultValueForMissingProps = exports.globalUpdatePath = exports.globalLensView = exports.scopeInitiation = exports.debug = exports.GLOBALS = void 0;
exports.getWappActivity = exports.getShareDBMock = exports.getImageMock = exports.getAnalyticsMock = exports.getAudioMock = exports.getMessageMock = exports.getChatMock = exports.getWappsMock = exports.getUsersMock = exports.getUserMock = exports.initializeAsync = exports.setHooks = exports.setDefaultValueForMissingProps = exports.globalUpdatePath = exports.globalLensView = exports.scopeInitiation = exports.debug = exports.GLOBALS = void 0;
var R = __importStar(require("ramda"));

@@ -508,1 +508,14 @@ var Storage = /** @class */ (function () {

exports.getShareDBMock = getShareDBMock;
var getWappActivity = function () { return ({
search: function (args) { return __awaiter(void 0, void 0, void 0, function () {
return __generator(this, function (_a) {
exports.debug('[wappActivity.search]', args);
return [2 /*return*/, []];
});
}); },
postActivity: function (args) {
exports.debug('[wappActivity.postActivity]', args);
return Promise.resolve();
}
}); };
exports.getWappActivity = getWappActivity;

3

dist/mock.js

@@ -23,5 +23,6 @@ "use strict";

images: core_1.getImageMock(),
shareDB: core_1.getShareDBMock()
shareDB: core_1.getShareDBMock(),
wappActivity: core_1.getWappActivity()
};
};
exports.mockWebliteApi = mockWebliteApi;

@@ -7,3 +7,3 @@ {

"author": "Weblite Team",
"version": "1.3.0",
"version": "1.4.0",
"description": "Use W with type checking and mock out of the box.",

@@ -10,0 +10,0 @@ "license": "BSD-3-Clause",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc