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
2
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.4-alpha.6 to 0.0.4-alpha.7

16

dist/hooks/index.d.ts

@@ -1,15 +0,3 @@

import useAuthenticatedQuery from './useAuthenticatedQuery';
import useCreateAlert from './useCreateAlert';
import useCreateEmailTarget from './useCreateEmailTarget';
import useCreateSmsTarget from './useCreateSmsTarget';
import useCreateTargetGroup from './useCreateTargetGroup';
import useCreateTelegramTarget from './useCreateTelegramTarget';
import useGetFilters from './useGetFilters';
import useGetSourceGroups from './useGetSourceGroups';
import useGetTargetGroups from './useGetTargetGroups';
import useLoginFromDao from './useLoginFromDao';
import useNotifiConfig from './useNotifiConfig';
import useNotifiJwt from './useNotifiJwt';
import useUpdateTargetGroup from './useUpdateTargetGroup';
export { useAuthenticatedQuery, useCreateAlert, useCreateEmailTarget, useCreateSmsTarget, useCreateTargetGroup, useCreateTelegramTarget, useGetFilters, useGetSourceGroups, useGetTargetGroups, useLoginFromDao, useNotifiConfig, useNotifiJwt, useUpdateTargetGroup };
import useNotifiClient, { MessageSigner } from './useNotifiClient';
export { useNotifiClient, MessageSigner };
//# sourceMappingURL=index.d.ts.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.useUpdateTargetGroup = exports.useNotifiJwt = exports.useNotifiConfig = exports.useLoginFromDao = exports.useGetTargetGroups = exports.useGetSourceGroups = exports.useGetFilters = exports.useCreateTelegramTarget = exports.useCreateTargetGroup = exports.useCreateSmsTarget = exports.useCreateEmailTarget = exports.useCreateAlert = exports.useAuthenticatedQuery = void 0;
const useAuthenticatedQuery_1 = __importDefault(require("./useAuthenticatedQuery"));
exports.useAuthenticatedQuery = useAuthenticatedQuery_1.default;
const useCreateAlert_1 = __importDefault(require("./useCreateAlert"));
exports.useCreateAlert = useCreateAlert_1.default;
const useCreateEmailTarget_1 = __importDefault(require("./useCreateEmailTarget"));
exports.useCreateEmailTarget = useCreateEmailTarget_1.default;
const useCreateSmsTarget_1 = __importDefault(require("./useCreateSmsTarget"));
exports.useCreateSmsTarget = useCreateSmsTarget_1.default;
const useCreateTargetGroup_1 = __importDefault(require("./useCreateTargetGroup"));
exports.useCreateTargetGroup = useCreateTargetGroup_1.default;
const useCreateTelegramTarget_1 = __importDefault(require("./useCreateTelegramTarget"));
exports.useCreateTelegramTarget = useCreateTelegramTarget_1.default;
const useGetFilters_1 = __importDefault(require("./useGetFilters"));
exports.useGetFilters = useGetFilters_1.default;
const useGetSourceGroups_1 = __importDefault(require("./useGetSourceGroups"));
exports.useGetSourceGroups = useGetSourceGroups_1.default;
const useGetTargetGroups_1 = __importDefault(require("./useGetTargetGroups"));
exports.useGetTargetGroups = useGetTargetGroups_1.default;
const useLoginFromDao_1 = __importDefault(require("./useLoginFromDao"));
exports.useLoginFromDao = useLoginFromDao_1.default;
const useNotifiConfig_1 = __importDefault(require("./useNotifiConfig"));
exports.useNotifiConfig = useNotifiConfig_1.default;
const useNotifiJwt_1 = __importDefault(require("./useNotifiJwt"));
exports.useNotifiJwt = useNotifiJwt_1.default;
const useUpdateTargetGroup_1 = __importDefault(require("./useUpdateTargetGroup"));
exports.useUpdateTargetGroup = useUpdateTargetGroup_1.default;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9saWIvaG9va3MvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsb0ZBQTREO0FBZTFELGdDQWZLLCtCQUFxQixDQWVMO0FBZHZCLHNFQUE4QztBQWU1Qyx5QkFmSyx3QkFBYyxDQWVMO0FBZGhCLGtGQUEwRDtBQWV4RCwrQkFmSyw4QkFBb0IsQ0FlTDtBQWR0Qiw4RUFBc0Q7QUFlcEQsNkJBZkssNEJBQWtCLENBZUw7QUFkcEIsa0ZBQTBEO0FBZXhELCtCQWZLLDhCQUFvQixDQWVMO0FBZHRCLHdGQUFnRTtBQWU5RCxrQ0FmSyxpQ0FBdUIsQ0FlTDtBQWR6QixvRUFBNEM7QUFlMUMsd0JBZkssdUJBQWEsQ0FlTDtBQWRmLDhFQUFzRDtBQWVwRCw2QkFmSyw0QkFBa0IsQ0FlTDtBQWRwQiw4RUFBc0Q7QUFlcEQsNkJBZkssNEJBQWtCLENBZUw7QUFkcEIsd0VBQWdEO0FBZTlDLDBCQWZLLHlCQUFlLENBZUw7QUFkakIsd0VBQWdEO0FBZTlDLDBCQWZLLHlCQUFlLENBZUw7QUFkakIsa0VBQTBDO0FBZXhDLHVCQWZLLHNCQUFZLENBZUw7QUFkZCxrRkFBMEQ7QUFleEQsK0JBZkssOEJBQW9CLENBZUwifQ==
exports.useNotifiClient = void 0;
const useNotifiClient_1 = __importDefault(require("./useNotifiClient"));
exports.useNotifiClient = useNotifiClient_1.default;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9saWIvaG9va3MvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsd0VBQW1FO0FBRTFELDBCQUZGLHlCQUFlLENBRUUifQ==

9

dist/hooks/useNotifiService.js

@@ -21,9 +21,12 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const notifi_axios_adapter_1 = require("@notifi-network/notifi-axios-adapter");
const react_1 = require("react");
const _1 = require(".");
const useNotifiJwt_1 = __importDefault(require("./useNotifiJwt"));
const useNotifiConfig_1 = __importStar(require("./useNotifiConfig"));
const useNotifiService = (env = useNotifiConfig_1.BlockchainEnvironment.MainNetBeta) => {
const { jwtRef } = (0, _1.useNotifiJwt)();
const { jwtRef } = (0, useNotifiJwt_1.default)();
const { gqlUrl } = (0, useNotifiConfig_1.default)(env);

@@ -44,2 +47,2 @@ const getJwt = (0, react_1.useCallback)(() => {

exports.default = useNotifiService;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlTm90aWZpU2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi9ob29rcy91c2VOb3RpZmlTZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUNBLCtFQUEwRTtBQUMxRSxpQ0FBNkM7QUFDN0Msd0JBQWlDO0FBQ2pDLHFFQUEyRTtBQUUzRSxNQUFNLGdCQUFnQixHQUFHLENBQ3ZCLEdBQUcsR0FBRyx1Q0FBcUIsQ0FBQyxXQUFXLEVBQ3hCLEVBQUU7SUFDakIsTUFBTSxFQUFFLE1BQU0sRUFBRSxHQUFHLElBQUEsZUFBWSxHQUFFLENBQUM7SUFDbEMsTUFBTSxFQUFFLE1BQU0sRUFBRSxHQUFHLElBQUEseUJBQWUsRUFBQyxHQUFHLENBQUMsQ0FBQztJQUN4QyxNQUFNLE1BQU0sR0FBRyxJQUFBLG1CQUFXLEVBQUMsR0FBRyxFQUFFOztRQUM5QixPQUFPLE1BQUEsTUFBTSxDQUFDLE9BQU8sbUNBQUksU0FBUyxDQUFDO0lBQ3JDLENBQUMsRUFBRSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUM7SUFFYixNQUFNLE9BQU8sR0FBRyxJQUFBLGVBQU8sRUFBQyxHQUFHLEVBQUU7UUFDM0IsTUFBTSxNQUFNLEdBQUc7WUFDYixNQUFNO1lBQ04sTUFBT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lBQ2IsTUFBTTtZQUNOLE1BQU07U0FDUCxDQUFDO1FBQ0YsT0FBTyxJQUFJLHlDQUFrQixDQUFDLE1BQU0sQ0FBQyxDQUFDO0lBQ3hDLENBQUMsRUFBRSxDQUFDLE1BQU0sRUFBRSxNQUFNLENBQUMsQ0FBQyxDQUFDO0lBRXJCLE9BQU8sT0FBTyxDQUFDO0FBQ2pCLENBQUMsQ0FBQztBQUVGLGtCQUFlLGdCQUFnQixDQUFDIn0=
{
"name": "@notifi-network/notifi-react-hooks",
"version": "0.0.4-alpha.6+9db19f9",
"version": "0.0.4-alpha.7+5964573",
"description": "React hooks provided as a convenience wrapper around notifi.network platform functionality",

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

"devDependencies": {
"@notifi-network/notifi-core": "^0.0.4-alpha.6+9db19f9",
"@notifi-network/notifi-core": "^0.0.3",
"@types/react": "^17.0.39",

@@ -43,3 +43,3 @@ "@typescript-eslint/eslint-plugin": "^5.12.0",

"dependencies": {
"@notifi-network/notifi-axios-adapter": "^0.0.4-alpha.6+9db19f9",
"@notifi-network/notifi-axios-adapter": "^0.0.3",
"axios": "^0.26.0",

@@ -53,3 +53,3 @@ "typescript": "^4.5.5",

},
"gitHead": "9db19f9bd7addce02b62151079a82d41c17f3e80"
"gitHead": "59645734056aa0ae79a97f292fa263c93696d28b"
}

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