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

@notifi-network/notifi-react-hooks

Package Overview
Dependencies
Maintainers
1
Versions
522
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@notifi-network/notifi-react-hooks - npm Package Compare versions

Comparing version 0.0.1-alpha.20 to 0.0.1-alpha.21

4

dist/serviceHooks/useBundlesService.d.ts

@@ -1,4 +0,4 @@

import { GetSourceGroupsResult, CreateSourceGroupPayload, DeleteSourceGroupPayload } from '@notifi-network/notifi-core';
import { GetSourceGroupsResult, CreateSourceGroupPayload, DeleteSourceGroupPayload, CreateSourceGroupResult } from '@notifi-network/notifi-core';
declare const useBundlesService: () => {
createBundle: (payload: CreateSourceGroupPayload) => Promise<void>;
createBundle: (payload: CreateSourceGroupPayload) => Promise<CreateSourceGroupResult>;
deleteBundle: (payload: DeleteSourceGroupPayload) => Promise<void>;

@@ -5,0 +5,0 @@ error: unknown;

@@ -23,7 +23,11 @@ "use strict";

setSourceGroups(newSourceGroups);
return result;
}
catch (e) {
setError(e);
throw e;
}
setLoading(false);
finally {
setLoading(false);
}
}, [notifiService, setError, setLoading, setSourceGroups, sourceGroups]);

@@ -68,2 +72,2 @@ const deleteBundle = (0, react_1.useCallback)(async (payload) => {

exports.default = useBundlesService;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlQnVuZGxlc1NlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9saWIvc2VydmljZUhvb2tzL3VzZUJ1bmRsZXNTZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBS0EsaUNBQXlEO0FBQ3pELDJGQUFtRTtBQUVuRSxNQUFNLGlCQUFpQixHQUFHLEdBQUcsRUFBRTtJQUM3QixNQUFNLENBQUMsWUFBWSxFQUFFLGVBQWUsQ0FBQyxHQU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"@notifi-network/notifi-react-hooks",
"version": "0.0.1-alpha.20+865512e",
"version": "0.0.1-alpha.21+f939f3d",
"description": "React hooks provided as a convenience wrapper around notifi.network platform functionality",

@@ -41,4 +41,4 @@ "author": "Juni Kim <73hKrn@gmail.com>",

"dependencies": {
"@notifi-network/notifi-axios-adapter": "^0.0.1-alpha.20+865512e",
"@notifi-network/notifi-core": "^0.0.1-alpha.20+865512e",
"@notifi-network/notifi-axios-adapter": "^0.0.1-alpha.21+f939f3d",
"@notifi-network/notifi-core": "^0.0.1-alpha.21+f939f3d",
"axios": "^0.26.0",

@@ -49,3 +49,3 @@ "react": "^17.0.2",

},
"gitHead": "865512e52ea8a55c5b198cf78a60fe7e92211fd3"
"gitHead": "f939f3d7571b2114be459587a65963604d230f23"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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