Socket
Socket
Sign inDemoInstall

@digitalcredentials/data-integrity-rn

Package Overview
Dependencies
Maintainers
9
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digitalcredentials/data-integrity-rn - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/index.d.ts

6

dist/esm/index.js

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

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/*!

@@ -7,4 +5,4 @@ * Copyright (c) 2023 Digital Credentials Consortium. All rights reserved.

// Exports the TextEncoder and TextDecoder globals
require("fast-text-encoding");
import 'fast-text-encoding';
// Exports the crypto.subtle / WebCryptography API
require("isomorphic-webcrypto");
import 'isomorphic-webcrypto';

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

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/*!

@@ -5,4 +7,4 @@ * Copyright (c) 2023 Digital Credentials Consortium. All rights reserved.

// Exports the TextEncoder and TextDecoder globals
import 'fast-text-encoding';
require("fast-text-encoding");
// Exports the crypto.subtle / WebCryptography API
import 'isomorphic-webcrypto';
require("isomorphic-webcrypto");
{
"name": "@digitalcredentials/data-integrity-rn",
"description": "React Native polyfill for globals required for Data Integrity and VC apps (TextEncoder, crypto.subtle, etc).",
"version": "1.0.0",
"version": "1.0.1",
"scripts": {

@@ -15,2 +15,3 @@ "build": "npm run clear && tsc -d && tsc -p tsconfig.esm.json",

"dist",
"src",
"README.md",

@@ -21,3 +22,10 @@ "LICENSE.md"

"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"types": "src/declarations.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/esm/index.js"
},
"./package.json": "./package.json"
},
"devDependencies": {

@@ -24,0 +32,0 @@ "@types/node": "^20.4.6",

@@ -51,5 +51,6 @@ # Data Integrity Polyfill for React Native _(@digitalcredentials/data-integrity-rn)_

When developing for React Native and using various DCC-provided libraries such
as [`@digitalcredentials/vc`](https://github.com/digitalcredentials/vc),
make sure to import this polyfill before importing the DCC libraries:
When developing for React Native and using various Digital Bazaar or DCC provided
libraries such as [`jsonld`](https://github.com/digitalbazaar/jsonld.js) or
[`@digitalcredentials/vc`](https://github.com/digitalcredentials/vc),
make sure to import this polyfill before importing the libraries:

@@ -56,0 +57,0 @@ ```js

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