@veramo-community/veramo-react
Advanced tools
Comparing version 1.0.81 to 1.0.82
import React from 'react'; | ||
import { renderHook, act } from '@testing-library/react-hooks'; | ||
import { createAgent } from '@veramo/core'; | ||
import { VeramoProvider, useVeramo } from '../VeramoProvider'; | ||
import { VeramoProvider, useVeramo } from '../VeramoProvider.js'; | ||
beforeEach(() => { | ||
@@ -6,0 +6,0 @@ window.localStorage.clear(); |
@@ -1,2 +0,2 @@ | ||
export { useVeramo, VeramoProvider } from './VeramoProvider'; | ||
export * from './types'; | ||
export { useVeramo, VeramoProvider } from './VeramoProvider.js'; | ||
export * from './types.js'; |
@@ -1,3 +0,3 @@ | ||
export { useVeramo, VeramoProvider } from './VeramoProvider'; | ||
export * from './types'; | ||
export { useVeramo, VeramoProvider } from './VeramoProvider.js'; | ||
export * from './types.js'; | ||
//# sourceMappingURL=index.js.map |
import { IAgentPlugin } from '@veramo/core'; | ||
import { ISerializedAgentConfig } from './types'; | ||
import { ISerializedAgentConfig } from './types.js'; | ||
export declare function createAgentFromConfig(config: ISerializedAgentConfig, plugins?: IAgentPlugin[]): any; | ||
@@ -4,0 +4,0 @@ export declare function getStoredAgentConfigs(): ISerializedAgentConfig[]; |
import { TAgent, IPluginMethodMap, IAgentPlugin } from '@veramo/core'; | ||
import { ISerializedAgentConfig, IContext } from './types'; | ||
import { ISerializedAgentConfig, IContext } from './types.js'; | ||
export declare function VeramoProvider<T extends IPluginMethodMap, C extends Record<string, any> = IContext>(props: { | ||
@@ -4,0 +4,0 @@ children: any; |
import React, { useContext, useState, useEffect } from 'react'; | ||
import { createAgentFromConfig, getStoredAgentConfigs, storeAgentConfigs, storeActiveAgentId, getStoredActiveAgentId, } from './utils'; | ||
import { createAgentFromConfig, getStoredAgentConfigs, storeAgentConfigs, storeActiveAgentId, getStoredActiveAgentId, } from './utils.js'; | ||
import { v4 as uuidv4 } from 'uuid'; | ||
@@ -4,0 +4,0 @@ const VeramoReactContext = React.createContext({}); |
{ | ||
"name": "@veramo-community/veramo-react", | ||
"version": "1.0.81", | ||
"version": "1.0.82", | ||
"main": "./lib/index.js", | ||
@@ -17,2 +17,3 @@ "types": "./lib/index.d.ts", | ||
"dependencies": { | ||
"ts-jest-resolver": "^2.0.1", | ||
"uuid": "^9.0.0" | ||
@@ -19,0 +20,0 @@ }, |
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
54091
474
5
+ Addedts-jest-resolver@^2.0.1
+ Added@jest/schemas@29.6.3(transitive)
+ Added@jest/types@29.6.3(transitive)
+ Added@sinclair/typebox@0.27.8(transitive)
+ Added@types/graceful-fs@4.1.9(transitive)
+ Added@types/istanbul-lib-coverage@2.0.6(transitive)
+ Added@types/istanbul-lib-report@3.0.3(transitive)
+ Added@types/istanbul-reports@3.0.4(transitive)
+ Added@types/node@22.10.5(transitive)
+ Added@types/yargs@17.0.33(transitive)
+ Added@types/yargs-parser@21.0.3(transitive)
+ Addedansi-styles@4.3.05.2.0(transitive)
+ Addedanymatch@3.1.3(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addedbser@2.1.1(transitive)
+ Addedcamelcase@6.3.0(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedci-info@3.9.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedfb-watchman@2.0.2(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedfsevents@2.3.3(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-core-module@2.16.1(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedjest-get-type@29.6.3(transitive)
+ Addedjest-haste-map@29.7.0(transitive)
+ Addedjest-pnp-resolver@1.2.3(transitive)
+ Addedjest-regex-util@29.6.3(transitive)
+ Addedjest-resolve@29.7.0(transitive)
+ Addedjest-util@29.7.0(transitive)
+ Addedjest-validate@29.7.0(transitive)
+ Addedjest-worker@29.7.0(transitive)
+ Addedleven@3.1.0(transitive)
+ Addedmakeerror@1.0.12(transitive)
+ Addedmerge-stream@2.0.0(transitive)
+ Addedmicromatch@4.0.8(transitive)
+ Addednode-int64@0.4.0(transitive)
+ Addednormalize-path@3.0.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedpretty-format@29.7.0(transitive)
+ Addedreact-is@18.3.1(transitive)
+ Addedresolve@1.22.10(transitive)
+ Addedresolve.exports@2.0.3(transitive)
+ Addedslash@3.0.0(transitive)
+ Addedsupports-color@7.2.08.1.1(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedtmpl@1.0.5(transitive)
+ Addedto-regex-range@5.0.1(transitive)
+ Addedts-jest-resolver@2.0.1(transitive)
+ Addedundici-types@6.20.0(transitive)
+ Addedwalker@1.0.8(transitive)