forked from pubnub/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js.map
1 lines (1 loc) · 1.91 KB
/
index.js.map
1
{"version":3,"sources":["react_native/index.js"],"names":["setup","db","Database","cbor","Cbor","CborReader","decode","base64String","Buffer","from","PubNubFile","networking","Networking","del","get","post","patch","getfile","postfile","sdkFamily","ssl","PubNubCore"],"mappings":";;;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA;;;;;;;;;;;AAGE,oBAAYA,KAAZ,EAAwC;AAAA;AACtCA,IAAAA,KAAK,CAACC,EAAN,GAAW,IAAIC,kBAAJ,EAAX;AACAF,IAAAA,KAAK,CAACG,IAAN,GAAa,IAAIC,mBAAJ,CAASC,qBAAWC,MAApB,EAA4B,UAACC,YAAD;AAAA,aAAkBC,MAAM,CAACC,IAAP,CAAYF,YAAZ,EAA0B,QAA1B,CAAlB;AAAA,KAA5B,CAAb;AAEAP,IAAAA,KAAK,CAACU,UAAN,GAAmBA,uBAAnB;AAEAV,IAAAA,KAAK,CAACW,UAAN,GAAmB,IAAIC,sBAAJ,CAAe;AAAEC,MAAAA,GAAG,EAAHA,YAAF;AAAOC,MAAAA,GAAG,EAAHA,YAAP;AAAYC,MAAAA,IAAI,EAAJA,aAAZ;AAAkBC,MAAAA,KAAK,EAALA,cAAlB;AAAyBC,MAAAA,OAAO,EAAPA,qBAAzB;AAAkCC,MAAAA,QAAQ,EAARA;AAAlC,KAAf,CAAnB;AACAlB,IAAAA,KAAK,CAACmB,SAAN,GAAkB,aAAlB;AACAnB,IAAAA,KAAK,CAACoB,GAAN,GAAY,IAAZ;AARsC,6BAUhCpB,KAVgC;AAWvC;;;EAZ0BqB,wB","sourcesContent":["/* @flow */\n\nimport CborReader from 'cbor-sync';\nimport PubNubCore from '../core/pubnub-common';\nimport Networking from '../networking';\nimport Database from '../db/common';\nimport Cbor from '../cbor/common';\nimport { del, get, post, patch } from '../networking/modules/web-node';\nimport { getfile, postfile } from '../networking/modules/react_native';\nimport { InternalSetupStruct } from '../core/flow_interfaces';\n\nimport PubNubFile from '../file/modules/react-native';\n\nexport default class extends PubNubCore {\n constructor(setup: InternalSetupStruct) {\n setup.db = new Database();\n setup.cbor = new Cbor(CborReader.decode, (base64String) => Buffer.from(base64String, 'base64'));\n\n setup.PubNubFile = PubNubFile;\n\n setup.networking = new Networking({ del, get, post, patch, getfile, postfile });\n setup.sdkFamily = 'ReactNative';\n setup.ssl = true;\n\n super(setup);\n }\n}\n"],"file":"index.js"}