1.0.12 • Published 5 years ago

prisma-client-lib-browser v1.0.12

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Making Prisma Client on Browser

Change on node_modules/prettier/index.js

  1. import { inspect } from 'util'; //line: 2 add this to top of file

  2. // var utilInspect = eval(require('util').inspect); //line: 40636 change with var utilInspect = inspect;

  3. // var prettier = src; // module.exports = prettier; //line: 42448 change with export const prettier = src;

Change on node_modules/prisma-client-lib/dist/Client.js

  1. var token = secret jsonwebtoken_1.sign({}, secret) : undefined; //line: 167 change this with var token = secret //? jsonwebtoken_1.sign({}, secret) : undefined;
  2. var WS = require("ws"); Change ws with isomorphic-ws on line: 73 with token var WS = require("isomorphic-ws");

Change on prisma-client/index.js

  1. Change secret on line: 85 with token
  2. prisma-client-lib change with prisma-client-lib-browser/src/prisma-client-lib
1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago