{"_id":"swr-graph-state","_rev":"65-06f1f5c4324ceb7edc199438d9e73e44","name":"swr-graph-state","dist-tags":{"latest":"2.1.4","canary":"1.6.2-alpha.12"},"versions":{"0.1.0":{"version":"0.1.0","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.11.0","eslint-config-lxsmnsyc":"^0.1.19","pridepack":"^0.1.4","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.2.1"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"gitHead":"0a547f5de2e3c16483fa10c8ef86bd7ce0051aa3","_id":"swr-graph-state@0.1.0","_nodeVersion":"14.9.0","_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-xbXVoQUz9N3BTPhfOoDsL/GoSD+/fTLc2svgfDLNbItCrGmCGvG8M35skBLpqarqGbFH8URh6Fe9duytYw/wjA==","shasum":"980845aca5206518ab5f871af7ac8cd0a05e9db0","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.1.0.tgz","fileCount":18,"unpackedSize":98718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiDkmCRA9TVsSAnZWagAAKf4P/RS5FkaGJYCDFxoDsezH\n+ZN7hTCiOmG32Ea2Beo37Gd3Onv+epEDwmQzC1IQAJemVLfOiQj7dR51fWyh\ngBCDfpbQHdUw71xDLYvyvE9XirtwQplQK8Vb9sUlvNHc4L6zhcOXffrEsc3q\nn3J1ZBv0t+Ple2owedtKtwFPkPgW+np/ORcr4IHEaArGmA1rFkOQZDiLcABV\n+Va5hHzBktn/k+YNCB2lb3xO5m+Ivg8qjwHE32GE9NFfWho2f+c6IWiiAoZv\nmcFZJaEpVtj3112P8FfsWfMzV3Z3A9JACP3uxZ5xSjZQNJw9N+ujqhLfmVe5\njtRY85R5v+RIDdfg3viFiln1E6zpp2YOKvpWD3BsdtjJTdPQaBGa6cZbd8US\n2dj3X/EHRSVO7aOV0Tzr0d6gEQt/KBOf7ECi77pCtOXQmt+w0+GI8w1rKG+V\nBLQff/OEDoKwBY97myAy74JuX2nkbsFvLeQsgCEQpsgUDZULtV9aA5BfnIpg\nhp+CzuDbCeDqwJU3FYTgGpxXB5H6M180YTCoXVpjiu2vnFhuxg4NWyMWvM5U\nw+EKTLTCLP5WhJDiKamtUeCH5/ww2QQ4eCjGsWFScZQfyIJrU/N2Fah8lvQd\nNqcUD2HnVs4kuA5E00T04zwkv3q4G92z4Eb2+yX5BgxqLujidy/j/JqaIPuz\nFHiq\r\n=Y+Uz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGbiOPZPiGwI64BV9+JoShxWe/MxRlUWZCLOY65Bd7gxAiBr9DiILWYhYCB+yCSchTfQigyRxonkklRzqZg5RgI1uw=="}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.1.0_1602763046107_0.27275059229101717"},"_hasShrinkwrap":false},"0.2.0":{"version":"0.2.0","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.11.0","eslint-config-lxsmnsyc":"^0.1.19","pridepack":"^0.1.4","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.2.1"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"gitHead":"533bc7cfb3183089b287a68f5a77b006702cf686","_id":"swr-graph-state@0.2.0","_nodeVersion":"14.9.0","_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-G4XTjAHWJHM5kw1Ytw1R1sphWK3HzAwG1FU0nD5Edx4RxxBglXN01/W3Up/qBaqKVUBprxKucOWgAhrXXvpjRQ==","shasum":"b44bb0fb3d81aba356bb5be423acc030bfb6f87c","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.2.0.tgz","fileCount":22,"unpackedSize":189799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiF31CRA9TVsSAnZWagAAZkIP/1tlx5LVZNUG1PmxtMYb\n80Ipat/aY/9yHj8lRCxLDKWJxJxvu/uLtCNEqIqMoLjm7fkMQ81dWisc6XLw\nMDiNxN0i96zOPls7nPUZUH7Gw5oHSPcp9Y8iD4FpTLSfVKyJE2Ab1uFqt6V4\nVv6MrtkqKyUH7VzcHaKx6Kz51ywlH3Q5LyUKKtmn+ec7iBOLZusaixRPa8gZ\neJEkS4jC3XVL9DzRaBvR/DdWn39CG81P/GrucZigfcvMOzNt0WiNh7fZUPG+\nZItCO24nrWDWDyk2FEphdaiwBoWSB3UWQdsV3m+qUEwd2rhktgIh1cPAPGfA\nLQoUzAqS7y/Ldqd12qAt8d1K4UzuOnSidP+H7OVWCHMyzP78UxzCJg6fdq71\nNjNKlB7WEWKhQlk6yMXc6MxrTzXWY9nBEwY2GcHuQXrqBw6RZ4oIWUZWJi4C\n/iwvYj0gr+GqRyrP/iMqNGYFkB7audIdnTGmNrT8eR7vhv7FE+XZe244z3l5\nDVBCijP0yrBKNNHVLrN9fInjpc9OwFAp5hSEIyRwzQwcCKxf+m7ORhtvTBUC\niU9tlKmkJET5N9QVxp9Kv+BKw36zUbGpQ2MOCzIZOrpWtgyxtkx6ywdFGDsF\nLq+T/vpZRusJJfQR4F1j5itV2xSBF+X7xVXkob+kRrnjjs9Q9e0/IreMfwIF\nFAiZ\r\n=0m2p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCt3d6ybHJtvZg2AcODhqXD6Jcn2tcK2UaIpPotZcqqsAIhAJDh6hj81fHmTTEhIZ47PE6odes7cfRjCYRe34k0vYhs"}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.2.0_1602772469405_0.6867194038657742"},"_hasShrinkwrap":false},"0.2.1":{"version":"0.2.1","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.11.0","eslint-config-lxsmnsyc":"^0.1.19","pridepack":"^0.1.4","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.2.1"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"gitHead":"be6f0b250f1342daac656d2f6c7547105e4b94fd","_id":"swr-graph-state@0.2.1","_nodeVersion":"14.9.0","_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-GdkyCLYzyc3A3Z1eS4Kkq817zdy9c4L/+KXu5Mn2BHDUVQXe5/33JYtArWnxYxwKgXV8cDDaCc6orwikR1fKpA==","shasum":"9eedf928842813fee7f97d91bc68221ead9765f9","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.2.1.tgz","fileCount":22,"unpackedSize":192877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiGLbCRA9TVsSAnZWagAAMFMP/2uX/8PhvA8e7eVPmKeH\nmuDEIsz/2yLA5Y4yO+zxYSUZVgWvFqLGXLvY601IdNJ17kvYxBJHjassDp1R\n8xHBiF2aK6mFUxBZG7lbaoxU8VvSqyud33A/mcyHPyBKbsW6mBMUH7QWUxdI\ncq7d2g/Dg1EMtsqLyoCxxOjhP+RPvXDN1GOIt8FYa2epnMI2X+mddlnsmEAg\nWNXCD0uKhQkrAs0WZXr0k+OA9qxrdjdUo2OloZdFvXAcxzUGcE3eJDSn92Rk\nC7MfqdCskF1VQGOGuQ77Ip8l/FHo949vUqZbx0nU812ccu8E5E2q9iBMBzRA\nkS8VHVHXpm9TdeANVP1QN8EPreCdnnyxV48QPFbSYBnuYjMLlCDNS1gXVukH\n5WWUiBtilG8XBN7W9v7t/sacdd0qqYZ3NkV9aFjQo/ML4Qe937rCq8HmUtt8\n+qwFqL5X1tcp35hrR3elNbNO1MRlXQlCjSeCyqo8I8OVIXquiYCLoIH4ZPfz\n+OGwOpqxLAHhnEI+uFOL/zy9I8w3IqjjAAzVUCsTiaAkJBHDQAhA+8X/Yfn7\nUQagKUZ7h/54AiwUx2MrGPYMUFZuiBqhUDTAmHGnN4zVFMGwXPb09tmpi7Ns\nVducTFdBhRFZoG1fjINMNVbTchX10b8R7ReP0YnsBbrUJXb3v8WhtMdLSRyT\nzTFY\r\n=OO6+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/3qslIUaEAfAp4eTokJEs+vpWXrI6lD/C/GasLNVgWQIhALTk3SO0rJPVh/K/Z3mM3R88NJ+5zQ51rEPF2J4PRmms"}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.2.1_1602773722699_0.7160782097342258"},"_hasShrinkwrap":false},"0.3.0":{"version":"0.3.0","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.11.0","eslint-config-lxsmnsyc":"^0.1.19","pridepack":"^0.1.4","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.2.1"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"gitHead":"82903a7ce27603ecd584191b5258cfd428d31fe3","_id":"swr-graph-state@0.3.0","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.22.1/node@v14.4.0+x64 (darwin)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-gAcmGW2eBYimKbjhzugdvrNmPSUN9rXfyCxZb3ZGYes/9zgaUnpChk8jwlbRenvuiToBGNnr03j/FwptlLpuAw==","shasum":"96fae8c9f280937f09ec81d917eb0ed30bcc3ee3","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.3.0.tgz","fileCount":22,"unpackedSize":199694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiP1vCRA9TVsSAnZWagAATQ0P/0PkzHDN5d0DF/YpoqLp\nBVIKArIZAcXOupxwXQ5bXD2kdRHh6X8PRLO6jp5tT1sFLYkWC2e9h3Lu9dYL\nPsTx1UoEiNEQuDM2Suledgm5AiwJcGLfW7zH2igTMt1jttkvKWVmjtCtJ0J4\nfoxSn10VMeg+Ib68iaIMjxrI4imdCAnI1XluwR7PbPJBnOrUuoUMOugaLJ2/\ncdpTGwhceftm11omek1lU33AKT7SEWHgwZYpBfr8qLiiSjoLsRPvIkXVQ4Nk\n5AluhDSaNDh+eFJlKBQBi/7ruFTvc80Gui1hxqTCDbtI9cRv750oaEXVWjQO\n8XBixOe2oRj9CyWe935Qem8yg+NsOZhaVPm9A61F2avLbscrM8q6I2Erh16/\ngO2Gqy0E5dysaEEpArDpYuK1Knr1GdmrxxXgkJKa/7AxMWXopoR8/gkhaAPF\nEXT5jF3d2pprYXSYj9fy57YjCLARc1tDivGDSxhFn+CWyI6iprnZjcPRLSdA\nUHiYN/qhALkDlG71TRcPuJZQinOA+vQVgoxxOvaZ7qt3rxAkPXr6wLn606wL\nMV0zGIlZKz8sUU+tY/nAMi98zVOtzX1z/Fkoexqxhpi6H0ZDZKiiL7Pkywma\nSaqMNzhfzZLVjz8sCgkAwXbL/riB2uyhDxMSPR5yBmgN82zW3UxIkAixTlZL\nsjAr\r\n=FFXa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtAwMhx9tp/J6fnxOsAASLOUeSk95DE11k2tvew3e2nAiEAuSctQIobhm1MkLI8c8b+mklDxJpXFuHvjhvn5eBxIPg="}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.3.0_1602813295275_0.24561663030708902"},"_hasShrinkwrap":false},"0.3.1":{"version":"0.3.1","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.11.0","eslint-config-lxsmnsyc":"^0.1.19","pridepack":"^0.1.4","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.2.1"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"gitHead":"5303ccedf034dc5ce250a0ddf068392496c4ac11","_id":"swr-graph-state@0.3.1","_nodeVersion":"14.9.0","_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-rELv3J7oNEFdEJCaqsIoG1lOkrYSNkL62KSD4aJuEVuPwiU7vz5Qn5RRGiDrdQaXaWDyTXa5F5inMC2aE8ed2g==","shasum":"ea7cd11aba7c70c09f58005fcceb571a27ab884b","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.3.1.tgz","fileCount":22,"unpackedSize":221148,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiXJkCRA9TVsSAnZWagAArhAP/3x7mvzoY6zkCaGxdRot\nPRekZZJCxGHntWmCD/K1qdTbNNrZOiiqLjyz6DzIu+GRy4WdL+hRplaI10B4\nIAPAGKakbFmXlB71y5XPIpgid5bQ7wH8zgC3SAGO4EUczLH/WQihGmqj6hBJ\nvyVr6TirIYLuqq+Y84KVMPZcxDgdYWwWLje0JcYOdRe/qBSfhrj7bPSyT8XF\nvJ9d+AVB//vJjG4Jm7taT8aRcYEND9S2oR3bHDTuVlViwuDVSNXV2XVgtkdp\np5l5uqx9wMzKbHEKuKf+Ba5svNC3uabvyhI9c3scx+yrF4UCkTTgDhrF2uBs\nGs2qJKgBDST0Nm1yt8yKkNPk+1K+HIXSbHLYeHVGeNQleXDjXvrzEqwSUvsJ\n+XRJs/8ThsfS5gBJx2E9ihko8xzy3hUNIPnpy5RCzSim8DqVXaFy6P7peT6y\n7/RuIU8TAmsBIGMT4MmC7OCSi2iIM4dk0Qk4veuFghbVW5wBVyI0a5f2YoK2\nxR2qRi1V7+badY3DP96rjmsitKXgp38oiMsBB+EPx7UkY49+H7bLf5bOhR9I\n+g/eQqkopzlTEizP4rxenuh1eQP7ZyT5bGM+7pt7Jq8V9mTj63mBLLJurEkQ\n2zO2qaY9dYSmX3hCJfQ5exoTrqTnw39iLl3Aw83uxVG7gXhQtkSpwpuKZ5vJ\nHCL4\r\n=Vg5u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDqb/WA/DHvk47+ib7/i2des6LDUvXPrKYWk1U8jwimXAiEAwV8Z1BOCcxmcwjoGeFz6p1HWaZKYDuXAtrQ7TzfdrZs="}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.3.1_1602843235660_0.727727233078941"},"_hasShrinkwrap":false},"0.3.2":{"version":"0.3.2","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.11.0","eslint-config-lxsmnsyc":"^0.1.19","pridepack":"^0.1.4","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.2.1"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"gitHead":"5711c2f1c43eae0cd10350121655a34f6504c5c1","_id":"swr-graph-state@0.3.2","_nodeVersion":"14.9.0","_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-fiIS/exB3FUcJZhxnnkjbwETVpLTvB5eXqr7d+xp5LlQS3f6gAoxtbaH2tSzF4XFQBEVyfpsRhPUeOA5IJMyow==","shasum":"1896c5780f23b434c466394853d37f3ef8bd0495","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.3.2.tgz","fileCount":24,"unpackedSize":243692,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiXiwCRA9TVsSAnZWagAAPvoP/2fG0QjZzgu7r3z3suGD\ngCu//9d8c6A+0b0F07FWd/d4N81XuoeCB6AAcrmyH9qqvOMgfHXnWH5bpxYL\nasSpgJwSavelkMmrE5+2hx0Y4QChlb3FwBqYS6fMxQYVe3WNJ6GAywg8HEnU\nE47nmxLCPj787qLiO7TJw8osE7Jy5hcMcPSDltWjGKsQSwOqwvNLrctuGQFz\nBK6IThI1zEOJMk6T0SKb9jWmAU4P5+yP8AMT93foh+HzWzudGdTW/6yonMYJ\nsD/cBtWEf3BpCRoxIVg1CG52Orf1oMu51GsY1MAE30AhFPux/ts6iiIuOZD2\nvs5P8Clf14lO3ZbO5ZveRZWd9NqbfJoRwsG38D//cskJtp84hTs/WP0eTd0d\ngOdIOhen9TroMg7EHM/r+2xM3CcXEkLRS25HQrvV3sZSzr3sevYgyCWIlaEy\nCiJWAeLUkkVZGdwlqEDx9ZsjjZoYnNvtRAQiAnqWvT+jtb7ctnMdfoHBwVMt\nmpRTLb+8p+6svuZnhB6V2sBhp37uMcCwQvmr/L59ftkmeJ6xeOiUYt9yZE2o\nL9DrwN7iF1BsDwCK5jYhPFeULFYlVo7IMei4Ut9ehxd/M37q8AA2mOSjJhqO\nJAzShWC7zpoNoUDhHFviSRLLEbxI9/3Y2wXrwAdPGaFhe7nJGJcBMwB5Y58n\nM714\r\n=VbpH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDNlEyhVgpnp/eJEDb3baCDB67hbGvWZ/snHPZeoD436AiEA5viMsuGmI2ZkhnpZ87oyq9KAI2WTJTs2AE+ldb/KLhQ="}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.3.2_1602844847858_0.8281175100227574"},"_hasShrinkwrap":false},"0.3.3":{"version":"0.3.3","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.11.0","eslint-config-lxsmnsyc":"^0.1.19","pridepack":"^0.1.4","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.2.1"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"gitHead":"eb9740172664924207d8d95dbff52ede3f288327","_id":"swr-graph-state@0.3.3","_nodeVersion":"14.9.0","_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-G/2K0gnT2W43pvlg2y4b6MBFHXWCFxV6Nu4HDTO96ZXvGWtow8r7FsvCy8326hm+sqYFgwkHDnirS00hSzz/OA==","shasum":"f1234aecc8f91791117e2c5f86f71446040aa6f7","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.3.3.tgz","fileCount":24,"unpackedSize":246916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfi7sRCRA9TVsSAnZWagAAUc8P/jEZznpFTf3wglK1Upzu\n/wAp46bXXzghKe+aBVuoM4njb1o9UpU8ZImk8ksvLOfIkNRILgz7XsbToezE\nmqpOhOr1nUU45m6n1bsV/B4ESFy3VWt0efHYqHwQVzaH0PXuqHbrrVXUdbrP\n3L6Pl9gCQyP6Nuv4mTiYYeY8wxFGj+y+3/VlyDzWVbANJa2YcrayMpLTnMk9\nR2/p/p8NU4N+rj8ACw+515KRX7U/C7WfysiTkrThWYN+S2C8atYHYvkuNKmB\nfnoYPLsqlFl0qdr2Z+EfmXTy3ctMkibHvl7r4ahlUTHSbW732pXNKW+mABPz\nH/9OotTO0fQSBfeNN5BvSE5Bo0QhWohmaax1VntJ8Udx56DLDuHObn8UQD/8\nFuHaqpBHwmK3PAONWbiJBPOWiAmIQhr+UoffQW30mnZ9osAZs5DG2bvYzNzg\neVPfSY/9quThij6Fo8zYAdCfugc0gyuio3GaHfbaoscQR2bwkhfKQf/zanEq\nxphoF8aVGefAU9gARoesGUORns9DnQ7PNPX/ns3Mt0EPWhHaUvfCMqMsP1HL\neJ50yqdvErjrg890gMgSGO6jbh8eMKL1y3lvnOV1G/xBGZImxxJQwqzrcIy2\n2Kwm/50wcrZ1f/X3YIpb+oLZZPzc8gD4ylCm+ZlXWjAhghDlBiqXdWjUN3Sy\nAf0m\r\n=BG8j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpAxkA1irATOuqitRWsD82ToeYgqJ5Tmq8CgiYcZT/dAiBd6YUnqDij3OheZrL2a0yQTKNURdSiW9V9QxGuQBDDrA=="}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.3.3_1602992913377_0.2877005947341533"},"_hasShrinkwrap":false},"0.3.4":{"version":"0.3.4","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.11.0","eslint-config-lxsmnsyc":"^0.1.19","pridepack":"^0.1.4","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.2.1"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"b0f57819df144f195c40ef01c3025e5f549241dd","_id":"swr-graph-state@0.3.4","_nodeVersion":"15.0.0","_npmVersion":"lerna/3.22.1/node@v15.0.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-+4sMZom1SP72l6OYfidBlClq4Ojbh3uAJ0kgAUdPoZxkqQYntNdHlo6WNpulMr94ELaB+S9qYyTZYG0zHc9akw==","shasum":"667cfcb8513416484dd5cb0eaac5e0f2d10204da","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.3.4.tgz","fileCount":24,"unpackedSize":247196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkr4LCRA9TVsSAnZWagAALEsP/jNPdZQBP/AKxR9hlV6R\nqNbuyEDDrvla/zDM4dDVd/N5RsIsdF8EkfDbDOzOlGQ5OvRH2OOIyyVkmIJq\nT3KCUxdB1VFm7mFZzJ77LGXqFcg8ElSJS0g3GDzcijygmDXVG8l09oKruBuQ\nhFUH3WsmB8jYBx28u2QCAA7WcGsY77kkfoSXklaVD5nz4x7fi1OaucMxcVs/\nScw5o+b6EdxhnIys6Kf85/2a51j5tVTE47kh2WwpqiZvvBjMCXVvAtoOsWYR\nIbacdO1y4UfjlZF21Ktk10Fv0qdVWKI/cRhp8nEaP+NQyAVRg9t/jR1U57qP\nITJsBKKeCQi0rA03584JsOO9o+jFhn56xEOalNmMA3D62lZYOf/llLXCuBLU\n6OdJ/G2Ji05qZa9kCgaisI7NYO21tOKoPj0A4gO7ttNchN5RRnfMoAbaKEIQ\nHW4xvPeDm5Br2W4sNvePnEe4nTuUdU7Kzt5Xm2xyYLf7Ltn4EruMmndN5QXw\novho/vCVfb3wd4cnJTIJn5NkIvxvEwoEeWo7OPObDN1Gg94dZvZz/UEK/YSn\n36N22SG1z35MIWqFnYtqBocc1xI5VmRQyjufSej4h90xhjETzCR4xeTdXzvz\nTSVorW2DlKDwvpWizuWnqFsXnTmYjU/dErhTMdiKvmZo0QXc5GRuY+SO+jl9\n/DNg\r\n=ajLZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyrM9UgNXa/jppSPMmexl8Ohg5aQdldXo3ukWcsoKyeQIgUSRcuQFcN39CuLTLdbm4MkdRYvFl2wbjFBTmmadOWZ8="}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.3.4_1603452427138_0.21197887875026677"},"_hasShrinkwrap":false},"0.4.0":{"version":"0.4.0","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.11.0","eslint-config-lxsmnsyc":"^0.1.19","pridepack":"^0.1.4","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.2.1"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"d2f58caff0ec512820511409e35c1c18914c697b","_id":"swr-graph-state@0.4.0","_nodeVersion":"15.0.0","_npmVersion":"lerna/3.22.1/node@v15.0.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-5zMDeK022Xzwm7Z2IF+EqdZPs2laO7Y7BL+8fLvrlf2OgM2LzOV4Ov870FzU4prtDTQcD2zBoXyahz0rpeWOpA==","shasum":"0cc300c262ca383c7d406c9da61c223be731aa09","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.4.0.tgz","fileCount":26,"unpackedSize":283850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkwMYCRA9TVsSAnZWagAAiBoP/ApGsaozlEr4fRdBRJdI\nFTc5a+9FR2prxXpu5vgIwyN/86WzrIBl3CLBU0GJFB/FcyMNFR862IqAvxjh\ndTL4VBOA+xcpwu5E3Q5ztR9FfcRqfzFhRok7AAVc5ZLOmRODWC5P4Ez8BBoz\nPk0jT3kCgzubjHy546fUOcrO1Ksy9T9hj8WHFhmTr05uXql2KQBFJCPNu4SS\n291K1yKJBSAKZut9HqIoIlKwkCwWzMOGSurpPTFPN4ydtQE7jk1qpiIhqAcK\ncURYVFcXEejvpGNKqfA55TpW3bB09+YZxIwo6Ys95fiVzYo1TmyISeSyI0Uo\n7ewmVqCBFWkTXitpaBgmPTahPOcNUr1rYBbnYJVAS6XdIFPG3X2Z43Hx3WnM\nMRwyLp4dl9ZXb19q4BHvyVfbVwdCSWLFVlEx6UFkTedKXXFcT0EKvYPhs+ZM\n4qjwoUxJF3DOYZUlubMUo2NNuEjNZ9Xi9jy498ps7W0o1Jlnips6OwhYiFQY\npiWcMQzH5qVELCbdF48axBnZryy2lptRjzgjV7skPhihBGGeyoZjfW49iLwb\n7W8XEyB9K1hPLv+WtX+OCHpKqu1hyowG+Ee8b7kr01xaEtsn2pIOBuwBqN5b\n+bRWsO5EsK3L1xcxL8oXG2LlUwOghgbkgavORaEMtIgW5pioefOmviOWKLIy\npHtX\r\n=pM0l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+wdwxD2Yp7VuLCtWHtxiK8YDEKWhTJVMfyiCs1nCMmAIhAJD34CQI8XRC61iN7aAbmo06HFur36E4VX0MO79Tbwuz"}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.4.0_1603470103629_0.6602977437360689"},"_hasShrinkwrap":false},"0.4.1":{"version":"0.4.1","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.12.0","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"0.4.3","pridepack":"^0.2.1","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.4.2"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"373efbb96fe6852fbc064d83a943eb21696bb775","_id":"swr-graph-state@0.4.1","_nodeVersion":"15.0.0","_npmVersion":"lerna/3.22.1/node@v15.0.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-dDZAj0Lcverdx3rjWQniLTSyng4zznUj7pjVttwqVZ4VLf0eJCi8/sWDBCOpKSt++uEatFznTNdQ+g98Q/28dg==","shasum":"aa998044b4a719fa5c6e46b7774aa8d77919e490","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.4.1.tgz","fileCount":26,"unpackedSize":282780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflB4YCRA9TVsSAnZWagAAbRsP/jmCmzT7wOMT38Zur0Mc\nEcZWYTbQn6UmuhGObZLFWj8dRO6lIl1y3a1m4Ff7nzgqYh6lwy5+L3fTnshX\nTKUno7j7cQbinqTYIXwM0Zz2GKGocymx0JP2y7OKQR3tbcpT6VxdszqUHj9l\nEZx772jIIt5+LHZHYs3fRGcAoYp11q+LTIgbgPFVp4Jw4Ro4eXdlsp8xPyg9\njJUyQUUq0uGwvFXAugtl5dfzc3N9QfHLWLbK4gj6McgohH+BdowqXpoAcLfU\nHz5674WLAQg80SH5UpWiV2Owu2cOJVo7+PLjyUZyT8wQ4oUX8lqe5CaF4RzN\nCvXWK4197MHC2l8VCqqYTCfPo+aKttYZr1HK1OUcu6Y9qWTwKGDXlSLAYk2p\nmt2ttHVNzYpJp5O5wGFNVv6wJRyf9Saz1HEGZt6E9+zaq303ixLzlOM7V8Sk\nb2jXTXBpUKYHN2PxQ7qNo7GWwzjEerPIGxUunTEZgXObIUbSwG4U77rBxx15\nBoXhCi6vfiAizVrIDssjQ+9yN4FwugNhP8z2bWGoOoEWnDqKVt93i6w2R6bl\n/yQEtr+Vx6xpC+vMzBWjKm/PFJdPsK9lZgh1Dz0zKBN6OlMOp4oNiZxqP8DU\nTcTb/hZVDdmGcg/gOO7ZYaYkfvegwvMQbsQ54gEqs/y6FBBGvnsfDEc/69Ac\nLbpM\r\n=IOEv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIDpaK8MV/LN/oONJxgDk8h3d75hV7FNU2ecWPLYnQntpAh8l49TLW9l42ZjQxX9eYmaHqbDAjT9TYtUUGZiM29Ip"}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.4.1_1603542551593_0.22060449045554997"},"_hasShrinkwrap":false},"0.4.2":{"version":"0.4.2","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.12.0","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"0.4.3","pridepack":"^0.2.1","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.4.2"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"b2fbe95de43cc13a49ed7391003ce9edce513957","_id":"swr-graph-state@0.4.2","_nodeVersion":"15.0.0","_npmVersion":"lerna/3.22.1/node@v15.0.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-RINvrn87Lb6JdvQ5tE2QnCgxqJ4fwWKs8yFeN929YGErlF6ddOM/euA2btBc4hKOaSajHuOfgNbZaT7ggJQWww==","shasum":"434b7b74577265fbdbb9b104f5995ef348534116","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.4.2.tgz","fileCount":26,"unpackedSize":282780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflo7dCRA9TVsSAnZWagAAjhwQAJGBY1mwRSUCvzxc2yLX\nT6oD+PFzxVWFXjCkdT3GX1OuNRPVsokfN+ICjvO9+xy2KSdt4yAKp/N7ZAYZ\nF191tbLBcFnlptFmuzrRbyVR9GR0A1gnNSitbyWRlhqtrNKMSJZSKMT2xNtW\nG0LRcdYV0jXKgBbhjWEVYJmd63Z0HGKEcDtp7Zlw3W0fkUjgzMbAzHeAiLmy\nglvHMHKjj8SfxAIX4xOSPfJqbMhYbJqRbhC1AD2NkqFqdqisQRzYhKFlYrt6\nd1HQ2ZmMRV2IACdws3+al6hqB5xao1vuXmKRxDP9S9hUrlpDAjle9K4agrQB\nID6tNeHv0pqqajVWFlpc2BccToVIAWILtXY5DrMzE1dngmb4OkRY2OUaVwA9\nrdpqvkz1TuhRKbDyEA18r9C8sq0tstCI0tPNvQwdUFGpnHIBM9zxMuPzOB9w\n8D49V/c4H7RqW1brFWLK7Rd+uTX/vPjM5B6865E76X6STDAkVMKaxtWrOhSE\nPBV7njZO++EmmZjQ9g4o6Eh+79QGq79oumgh6CfXT8Tzb4epx0qx3U+zDNG+\n2aAz4p5YKd7fdCVJzZxiJ73zjyYydwwV+7j5sA1oMjWM2Mgf2b5tQ42Bt1Yt\nz7rWDfErHEZmQe/lyv1IW0zVcK5eCojW10dpZzQf5v6uEaLJ0SKvJeyo2z0g\nbu7H\r\n=5sO3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ9fGUUR6lbDh9dUXnWZ6mGRFee9+N/7LqJSAMzjiuawIge7gDzB/+rz5OE63zBbBcV+f+zhTYLbNaMZTsuTpESOw="}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.4.2_1603702493026_0.5697162663422868"},"_hasShrinkwrap":false},"0.4.3":{"version":"0.4.3","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.12.0","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"0.4.3","pridepack":"^0.2.1","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.4.2"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"3f4b48437e18ca602ac13681ee278eb957ee52fe","_id":"swr-graph-state@0.4.3","_nodeVersion":"15.0.1","_npmVersion":"lerna/3.22.1/node@v15.0.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-mNn/QjtppJuN7ldM6et1mO6Zwr24CJqxW8klSbG71vQvy/pte60KsXcagD5fKM7OZz1CSD1fEvZ1anyKMO6eLA==","shasum":"523667d2850b20b22993d111ad5938623e9bd3e5","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.4.3.tgz","fileCount":26,"unpackedSize":283401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmArPCRA9TVsSAnZWagAAWkEP/1604jR9LPX6FnvF+c3Z\nC8mFsC8YC5aRajNgDlenA7tZovDg5rJTEJfO+DxKOwv9nevNFPBzbtKE0voC\nsgPreneR00DL1jPKYU3vVG6+GkS+FDxIjtby9H3KUBCFHJ+u88KKGIuyQpu2\n6BCrmn3h+FSpdLpHB0FQMw56wgk2P+Cedxv3ge62dWPPU8X84mlqd8SWcuhu\naodk2eIg5nu4Zo4FRElbuuIFUgXkWqe41ghU4bvgyAJJakFMa4zxBc9gNjOu\nWULCb+QiSjtftx9PEfmSfL9m3JWM2SVFG6yizZBGVInyDk7+0GW00Gw8kzlC\nNIDm84uYzyZOTQEGdaW55DCvpdLB3PjYSwhLJ6RaLE/rjVXPVmezfgtJKIeG\namW6z4I2SEO9q2wor9xQKB9SRZmnN9ddlegAXVfoj3idRjqKWOcp25Z4x0TO\nr/e0VU6pluGLOdA9IOes9CJ1VYazK3TPhqVnvnGLRS94kzn/UIV5vZbYeh96\ndmzb3ScU4jZQgByeoiWMH4Xx+E2dXp16FhIGOaEsAKgrYEFVrJgkOIES31nF\nGW/BJiRciof2ft8ldvxv+1+rNzBj3nM8Q5HP+cIPmHRi/YpkVzUJXRLvu/ez\niD1PSg1VUTXX+uNc74aR6++kHULiIpdM7jNH6qq9UvBDAT/Ya8o27Yh4P3Oo\nzk0+\r\n=3/tZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfJDBePClb8LLAykhKcGxs0kxE0syG5nPM6YsokrgdjAiEA/T5VvEYUkcjWofsEYev52ix7g7XiltvRU4FrMAqCAmY="}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.4.3_1603799758973_0.5354319065647986"},"_hasShrinkwrap":false},"0.4.4":{"version":"0.4.4","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.14","@types/node":"^14.11.8","eslint":"^7.12.0","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"0.4.4","pridepack":"^0.3.3","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"graph-state":"^0.4.2"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"8b107316d9fc3587b815161f1ec6e412f8ec780f","_id":"swr-graph-state@0.4.4","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.22.1/node@v14.4.0+x64 (darwin)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-FQIzyhTwYp34HIwQIqvOGnUVW/CZ0Jd5lyCsEtZAezEfe6LDpYldPwLroXJ5goWc3zK1xoecoudAPU755i7ifw==","shasum":"5e5f967d9e730b1df68c71be2f57bb59252d074f","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.4.4.tgz","fileCount":26,"unpackedSize":289737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoDUlCRA9TVsSAnZWagAA+lsP/2VHxltwbcQDkRgfhAgH\nrHqyrxTXCPrtXz8bvuTwcWL3uZNj1Exed3PzI6TCJYbSkB03kEXWPXKmhk2w\ninHKEUwGEhJI2HEKnUlQUlgjDkJfqA+5W0LDEKA+bK1y7aPOs4YqU886DYrl\nf+A6XUXWH2yzjJKtjjZEoyh98aCYQ7ADxnlgouhGBT0wF0wRHe/e0lq2qGB9\n3hwosII1r2HGa2dz5huYVfXZP4rsi9bFsNijE/aJ7J5c1g7v4nmRLb+2cInh\nFwsp0dyJPdAzo585nw0iuOnJ/iQzURM/uFi+WiGgQUTM/HUEKryqTKuyVDX3\n+8Xk8NkNhfDeJG1d5mKwB7Khxr7i5R8XSG9dmgenBTRQ8/+Px1HkUveqia7v\nEkRu9j7IhFMSYS3LcS0QLjPFHrOCmUfwHGFq6UqxB6XTYxCkrwhuyjkBlKev\n2K0nf537J71ep11ew1VROHTYQP1cONoT1QW1SLRLyYAN5JuPdTvIKeEg3Wid\nYYiLwUcoPsdDHgMFGST3luRH783ycEJTJscB7Y4uYR8y59nn85glVkyJnCFP\nnomfF2PwAHYTg9O3Xh59u61yKomS1QrLzQDxWZv6l/cfQggAjEn7FxavdNDy\nb6quM+dRyMh5N8lfmdHHzkwTqsqHCjzcXvL5Wa4zc++7RNjnNhvdcld6dRlf\nxPe6\r\n=EU7d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIASU1cluPHgudBehkze9SX5Sbrq5lFEeUtEUhHSwitTzAiBAomIY/HVMmdw/O7ySSqVS97dloBU/QxztMXcu253k0Q=="}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.4.4_1604334884887_0.26044671846970435"},"_hasShrinkwrap":false},"0.5.0":{"version":"0.5.0","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.6","eslint":"^7.12.1","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"0.5.0","pridepack":"^0.3.6","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"graph-state":"^0.4.2"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"8325bdeb70c133345269f6081f6254620153473b","_id":"swr-graph-state@0.5.0","_nodeVersion":"15.0.1","_npmVersion":"lerna/3.22.1/node@v15.0.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-BwhGABJRl8m/ehyPycUPYMSh01bXfgmvImEzyrET2qCO0Zjh7YE+9RmMq7VuGCXhUbDTDc7jLDo85dTXc9JKPg==","shasum":"3d136efea6d216c0668a1b60a675cff4583fb843","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.5.0.tgz","fileCount":26,"unpackedSize":345807,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoTZDCRA9TVsSAnZWagAAlXIP/RxaqEwgOju75UopLvdP\nG5Oi/HkbKD+82P9xibyJ8THPEO03cc1qU3p/mNOSHmuND2UWsTtkbmmSexZ+\n33Yc4PSlB+6br3+FthOjg6VEWa2T/c8MR1M8Ts41IV6WyLZZR+vu/6zBp3on\nZRfcbICmmkGBI7IgecF92xxYjmxHQYXL7qKxr279EeHBvXPOS3oxADdOaDgI\nvhOmIW/76rkv8uSPqDWolwd5fm6x1EkGnH6bK5qKOJgxsvkyT9r26MuLdLah\n5hZP6xe2K3DH9sHDdAxiZK1TvXjKAqFvVl2vPK9gdXPeSKAP6zEAC95FBDKK\nCenFBFUrpdJEwgmSg04MWD3mps1JcR8ifZ1CCBxGNbr2o3aeeEz5wE1dAtOf\niNBLJW9YU5MpOAeHz3EyZ7LBQXl4O+joHY0VKUppITbPaSXXGrJyulu8M/6F\nYbHdbX/Px2a3k3OinjH8XpFkY6AJ95nqfZh8PyIolG6AZ2n5qjUoatn7F7G/\nak+H6M3jhGj8fLcE4Wg7bgkAUkmvh1pROSf+whtymR1W51Ei2B0Wl7QMnyFc\nvOqb9h4+tP5tEsJTzRp8RiYd0NVXmXr0fDv5rmotHnmii2p7FOivh34YkEYq\nZ3dQ9gkG5hHFcdAyY3IbzMo4QkpxYpcoljEOJ5QUQnd/J92oI7jzGkz5WbKr\ncKiP\r\n=6uaH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnthRNQTZfA9S9B/sSWKL96eFDyfZIGWsLf6uzzSypkwIgVGXsVGj/a9fc79zhoVigkUCE4oCE66ZWgIwkEI6lP1o="}]},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.5.0_1604400707405_0.4110478157819055"},"_hasShrinkwrap":false},"0.5.1":{"version":"0.5.1","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.6","eslint":"^7.12.1","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"0.6.0","pridepack":"^0.3.6","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"graph-state":"^0.4.2"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"21ea7a93019562e3d07d1678932ba8ee92133d82","_id":"swr-graph-state@0.5.1","_nodeVersion":"15.0.1","_npmVersion":"lerna/3.22.1/node@v15.0.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-pmq7gdnhB7qJHOOVfpjvmVvzkhukTka9b7PS8CGT2tWAlhfyaGD36KRsa4l8XWMb99/XaMXWEfTICPtbcfYvqA==","shasum":"b76c0dd0245013c5f12ac3c5c6f3a39148096042","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.5.1.tgz","fileCount":26,"unpackedSize":345807,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrPKGCRA9TVsSAnZWagAALVAQAJIrNmp1w95xD7Gp7oz+\n4YGdqr96zGIm4oopkMeB6gADTMAWLdGCwWx3bzXgjokM6PcH2pvbNmpDfOgE\nTWArfdI5hGZ2f5ewgAem+LU4/wCqf+5MPWyqxciKmPV1wRTrg8P4iRm4+zjS\nSg2mSLWOZT9LzMusgcQt5shpmw8XmF8iD6LW6AlSbRsCKnJlJY9DHbRRdS8o\nkVOjlwyR4/sattI0qS37OjIlDRCbWnz26p1m8qDLyUJ23An1p7VBoj+KA1h3\nrTaW6zm7Mg2pphthhAhyXdgPOHGOGpx0KKIrT6Y0H+lbEDU0JGHCe9Fm7bSE\nxXVbmh/RnHGTfn5fgDz7votn25LPT9bNWfZRFQTxeBNdYs1QWQooebRK66UV\nBCQfSr0B++TMUdnkI7LRbERlseqFqXoDVuV3NUcIHOjKqed2y5Na7PGOnCVW\nqYlvjAPqQjcK8y2FxT0hlQ4t2Nzv5ZfKXCx01t2/0Bw5gezh72tUle8bSSOf\nN8mfqEvfMFjIFU7ZO0bE9xuUaNEGnGkN21G6t5J7nUX/zpMe60dWP5rEQWzq\nzFHy6yHSNSok61AnwxCkHBCtfFpIEf57Tp54fwfpcSxL/wN7YM5lf1DLcD/Y\nwxzVFZC8Yue4DDzlEjVd/t3PZVm9H4H99FmH9hFDPLljlEuwCJSHXIYEoUaz\nOALM\r\n=24Vg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx/kNPYsw+oWBvfYiTbTz4v8vBswVjiK1U3TJCIq1moQIhAOUMN2eIzUSw6nYNLNn8/Q7Xe233R71RNbEEt5ojLTiU"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.5.1_1605169797505_0.1658443118886408"},"_hasShrinkwrap":false},"0.5.2":{"version":"0.5.2","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.6","eslint":"^7.12.1","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"0.6.1","pridepack":"^0.3.6","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"graph-state":"^0.4.2"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"6fafe28402a3ccb38bd842d20fe81f36e55e53b6","_id":"swr-graph-state@0.5.2","_nodeVersion":"15.0.1","_npmVersion":"lerna/3.22.1/node@v15.0.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-c6N/TFBXpvN9xv6Ts1rWBlKH2Xv1Fv2NfvaVEGvBCeGI26pzEa40uOSWnai6EbXeGq799adACpjkcHk3GcGzlg==","shasum":"1558cd9098d943e612956920d81550fce98c1fe6","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-0.5.2.tgz","fileCount":26,"unpackedSize":345807,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrPgWCRA9TVsSAnZWagAA01oP/06vQVdvq83CgbyTx0dR\ntoJCRgPJkWjVEdbsvD5I3nwV8adB83ZyY2YmW0xKJ6QWnvgejVeocJLYZPaI\nLfrQLCBBq83I5AqU/bn0WfEOWokmsnhkD0g30vjlMtFutPGw9GCPFgu9FzTe\nttEQX88WSOjQxgXWPep3ATxyFYyI6vxP47lsTem8dgEA3GT3OR9zREd0Dolf\nORizn3RE9ZysoHD95OSPSUM8woqBNNeSXgebgB8Eiwgup9O6SIyrgQUDs6yq\nG0LZDPbGg/njZAKzvIYNRnsctYa4aTirt9RjaZYhilKU8SGxhX6fecAdRLJA\nWF7prwZ3nN0/Oek+TLt79H45Kv8dGcIH1wlKp9eklSp1AJyuTUcqtTkeqIF9\n3o8udxeDOfhdubSctLmaGe3sXZ932m0IvfR7QRNDQUmtiuDMf7S/6yBT5WIN\n5hFfOZmH3hBiaxWEY/Mlvhcvq2STbTHtIkb54GgmkRko4QAn81BrFPiz4c97\n02qM+n5uymAUzm5FWK3srlqrcPvvrKTEs180pBB45DXJjbLC9Q7u5gfyOXkr\nl9M4YIkNrybMVMUo7iUzFzwnPPnpkBaXp1WndTyo0pWf0aUdGcX46hNT7box\nqDoNchO3ioNcnMglmYl8qh2gMCRtb/eJBsc2p6ZTIL4zWBdaiyPBva4mqPtX\n99Ch\r\n=3VkI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTlU4eMepgfIn+c6EOoOY098uLD2SEVyXB8UIFJJJvVAiAphuMLVRItQZTsxxmMnb1xyH2GKbxQfEy1j8kYyJXM0g=="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_0.5.2_1605171222501_0.15315643109214183"},"_hasShrinkwrap":false},"1.0.0":{"version":"1.0.0","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"1.0.0","pridepack":"^0.3.6","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"641eefcb20a6566f286af44274b804d833c516be","_id":"swr-graph-state@1.0.0","_nodeVersion":"15.0.1","_npmVersion":"lerna/3.22.1/node@v15.0.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-ESA4yKLRypvXi+gF30wrynQ2ZFRqTlGZ6Pkmw3gDSUGaYVcuTHWjRs4d/7qY67RVu5IXnrgrVw1ws43vkWKUmg==","shasum":"4e3e8da8a6611bc887339224f17405ddd0688baa","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.0.0.tgz","fileCount":26,"unpackedSize":345828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrodWCRA9TVsSAnZWagAAw1oP/jTcp6P2Da3jIANpELP3\nOJ1Up4VH/yShc65NZWFFwCWPltglLty7fVX6PdIYXPpkfTfZcbhkm0hc8rhV\ndHbz4reUmCsyOMHBOG/svua+8MFOVd7k8ldCvWq+0lzF+vji4/lxXjZt3wsw\nhb+Fhky2dg3hD3Hsh5x8zeSJa2+eHIVkUuDs11u7sSWVJQLE6TEkniHETDJf\nUxYvHTqpDp3AsFsBXjDMhN9Jb5FrS3t53o8Uo2JrcLEb3vEWoFHDoTosF/Bo\nGSU9SQl2EoP2vSgfd4YU8rHJZ5NaE6BOBhLApQy/pU99ZNvLMhi5fBbaPKIZ\nq8PpB8Uty609h9Kf/ybeXPGsvRHYE2ex4gUzvT5inEhVIoejsJjTHne+xV+9\nGZuDSAoGjDluND2lxppNvDdk0mQfL1WRxRH7ruQWfNMrznfg2AKQWMv8hSil\njnv2M41euj7Wcktqx4nhAhZL13m8dUnjsS3a6dqtse+l3kggId5f67uurzGs\nANoAfKCavf8EOn1UpBapbT2vM/h6kYhwuXGeEwOXm7QZIq0b7x/eAXDpquDt\nwsCw3TjzcG0tldyfN94fv/VAfmtfCKHYIyCHFr1qPzSbDXDVKHeFznhC9XvE\nGw3eE0gv0NGny5I2z2PvyrJVF8v35KU7Mcr2p6fVmszKq3ox2KWWQ0ETytBy\neDAV\r\n=51v/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/81DNxbSRW6ZwcWqWa+r2y51O6UU2DmafnzU1rnMN8QIgHyQQUOTfxATVlC9C/LeLIJgzM5kPckCxgK9driCPS0s="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.0.0_1605273429499_0.21149260523628532"},"_hasShrinkwrap":false},"1.1.0":{"version":"1.1.0","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"1.1.0","pridepack":"^0.3.6","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/scoped-model.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/scoped-model","bugs":{"url":"https://github.com/lxsmnsyc/scoped-model/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"1c08f2cc0a4796e60f94432db2075f201253e8ff","_id":"swr-graph-state@1.1.0","_nodeVersion":"15.0.1","_npmVersion":"lerna/3.22.1/node@v15.0.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-rlO14SLTblDjayMlTWut3DtQBC93rECgStntuxd1qu/+YA1iXNzHJTwfSvHlBKF8/VNgZQsuMSKryY1vaWngUw==","shasum":"7dc4c5c0ac6e68ca52d0f7b6e5f7177c697fc51f","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.1.0.tgz","fileCount":38,"unpackedSize":250959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfsAsCCRA9TVsSAnZWagAAKh4QAIrlFy4v1Mk87cJK0WjF\nJDZDVqOjo9fy8XzoTGYAeRFuGhYXDJiw/rzQIQv7I4wERrt1ax4sNeKDDAlm\nMzHdjf4Rl1zCB+hLOSok+qXjgCC9uryFoQaGx2JN0QpuJcYCZxCCBtmcO6y2\n/HKCW67WRGbBDnnNwhMyWQiN/RKclMhAhuWFgk1MT9VXuqRT3fBnJLgibenz\nNmfqeJuSsGd5g0HQ4+KV1mI2F4B8tMVW7y/nkG99xrgPis/JFrE+zmTtHWF+\n3qTjhbL6hqV02iXb8Toe1Qk7IxYGfi5CzgHoNoSONi35IJxn7lvdatr14xax\nn8w/0bUMxetL/HiQnwwX/mUUrMhqt4Pr99oOjraXFjlFQjJFeZh4zp/mdjEi\nP0uqPxRSaBEE+6G7otW2Qy7AW3fvPbKodAOmr/Zq8OhJHKSPBSURSnW92++D\nhujusPxGhJQlqu8eWAz9Wd2OsgNDahHMNHHj/GZ8Vng5yykBdgllPL7B1gR2\nyVF4NQfOykGfN6ZNsumIcefUAUjgFRvmUziAt98Y3844Xu3cKy8jHingV7vO\n/TzFGXoGM9BSktP14K+I5FqWWDAZqtvwDoaFBs8hsxonF3z67P2DXPQRO1YI\nghcTM9E83QfmOxexk5YxcY6hPJBVGtF6xY3YvcLDajpAsZmIFe8otC7DjNBr\nHcB9\r\n=yq1L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD46BFdlqNaYSc2IELIHxZ+q8YBcmtZ57LhOJ7eTMEapwIhALZVAyHMV71Ec6KkGR6wQPSHK+B4rJxVYVYNbAcghpdg"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.1.0_1605372673518_0.889352994908102"},"_hasShrinkwrap":false},"1.1.1":{"version":"1.1.1","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"1.1.1","pridepack":"^0.3.6","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"065028826a4b1f55a5ba25cd3fb1153becae2b3c","_id":"swr-graph-state@1.1.1","_nodeVersion":"15.0.1","_npmVersion":"lerna/3.22.1/node@v15.0.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-WuCH4nHTFghQGnkoBphlmhPdIuOdKjchILTUc5wxRHg1kJcJAw/ImV7cdA/nbeVRpHmz9XxIDyG7S8V+xDGdpQ==","shasum":"1d746c61df054a4d5ea81439752e8f9298f3e333","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.1.1.tgz","fileCount":38,"unpackedSize":250956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfsJ4BCRA9TVsSAnZWagAAf5UP/0UdMVi1ZSLJ8TlQSwyp\nGPxcSB0fpQK1qZz++McNnxPvCJflh+1+Md5Goaqlt3jhGBSiwIF9B/xM36Ir\nKVYPjMoL9WgxKYWaar6lgUMgZS84DyVQvzMAcwFgmNbNKlSRHdtfupUdZmMa\nf/cemKy/M1FU+zXCkj/QZiWyu5aZx+/EnC7mPhAcSS/N+xhlY/3LaG7L/rFw\nmgva+tbE7tv7MZL9hXLpIiwDIY/KBVfOG9a+uGU+IuHK+MiA1LIqtOqPCoWt\n390U3E2Ct7+AwrUxMUgWHNhONimdqPk6cJM+htbNCN81v7uhWpZzswHN2UQ+\nNUgFZAESYhGpb+J/T0mVKaRe/pa51rf3Q4bxN0KKQkwJlSd07dJ2d9jqf/D0\n6D0eoTzhDRavTlwndkrQhEbYEMQoT58Oz8/BSePJOCoNaaae1u27WXy2jFeV\nUyNiC65rSnJ6kV8Tlk3P6ZyQEn724HIPiLpw59xeH/I74lr16xej0kfuDCrg\nqZKN8GhPvuZZASJqM3OmqdYYGt/5cUriFl4XHFz3jfyaedrsdl0roMk49ZyE\n3p03Dp1DNIujQBqGWPGJ5WqHSIV9oDVskE5MqxUb6ovhb1C1wV5owvCjFGAh\n8qYb2TrEPX4Z5t4Ps3ZBCHwmb0cnZEvYlfqPAbhhVSAE6ZceeEs3DeP9evEt\nx9vh\r\n=BX4K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDU2GWpQxYIS14bf2DQCAOoewPZ7JccnIW6Oz1vDNEUAQIhAJPxAmd9QpC9L/Eb73ZVvId6uWEByZfIA3x8YEWLu7qr"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.1.1_1605410304794_0.587117820939538"},"_hasShrinkwrap":false},"1.1.2":{"version":"1.1.2","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"1.1.1","pridepack":"^0.3.6","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"ba8887293b9f848b5b686afad436fb12c59c6ab4","_id":"swr-graph-state@1.1.2","_nodeVersion":"15.0.1","_npmVersion":"lerna/3.22.1/node@v15.0.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-k5RQZ2LlfV69cAI/D3brNP5NOcKnQN/IfMpi+8adt1mxRMYNgBNcj2G9ewOMCXU26tRcexjVNSY9L4S0fiiyzw==","shasum":"ab6e1c1a235f13bc30df63bb457feacd342fa0e2","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.1.2.tgz","fileCount":38,"unpackedSize":251184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfsPS/CRA9TVsSAnZWagAAN5AP/11/BrYWQX3/h1QWfMKb\n96QWEJwjC3qXbluEVcnWNtffpXfssSoCMVk/rWX3VYc9RcFJBMNhIfo69PFq\n0lJ8uSa7tZ+cvZ2AslhRyxgq6SVZAH7go0/tkTmjxO4o1EHdfbo8Qny3n8ly\n23q1ahvRorNfZMPpVzZV9GGFpjNautVTxemEYs27JOrhYtvtqk5T1IxGhjEj\nx8zc3Qs5EVOg1G8cKVTjjRLsC9EoRiJPeRMz41A2GJas/YIBtqzRlnyy/Fs7\n4f99TuJDwoWB0JDx/YoMnzHgdujmOl9Qf+cWdnehcM8s/Xy4es+R7MUnmXsK\nY2Aq/CRr/cxaQ1LLHV5VeKg7KHkeFMptCAWC1Frq0N5TGrpaCzo0NL/lMhM6\nuGIYQKbRs88M+xT9ygc34t4MiFFvaI4/vywwawcTI7STWpIpMv51PmRKW64Q\nxKYkg8GTcjRj/F73QoeXc2bcSnhNjfNEOol92IN09OEo1ax3Ao4K/ILskN65\nnGgQ+mYXonidgiH88ws1B3A+isFwDr7xwDGuPRo93l8yywLt2DKQQxwXCe+T\n7ixGTkQ8z76VCRx9vpBpY4GaxxUeBa8G3LaYj++eZgbbN4LDhU7AS85lxgUe\nW5b/g5GQkISoJQHGA3eS5L0jAlUsp9yYMcpFzVVZdRhIskL0SoHnBChweMR8\nZfrk\r\n=CiRF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3Tk+LlnOA5huXrPVNxBltfdF0Q3Z9Ub+Vsa0jNWNqPAiBgVMu1rMli9YZpsem41qnIOfv0jqz2zDe3r0pJaF6qDQ=="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.1.2_1605432511001_0.8030531082265673"},"_hasShrinkwrap":false},"1.1.3":{"version":"1.1.3","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"1.1.1","pridepack":"^0.3.6","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"3011cade58e6ae8c97835684983383289ec07508","_id":"swr-graph-state@1.1.3","_nodeVersion":"15.0.1","_npmVersion":"lerna/3.22.1/node@v15.0.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-8vXSlWzvpg+hohzjlsgTpENVhDMWSBXWekLocnjIgUdIbWZZLfVniO2BybSA/Kjjq9MdWT/VCLTt+QUfw++2kQ==","shasum":"ced1e02bf51ae0cfd41928840e3a3292d5b7d1b6","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.1.3.tgz","fileCount":38,"unpackedSize":258382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfsPdRCRA9TVsSAnZWagAA5jsQAIs4cZXARDEJ/Qifdbm4\nzwTYS9HSOBKuvoOSVaUdzzBR62iJjbypGVPxdU5X/HyP67z04z1X4XyjkzwG\n32Gp5xmunGGqXmLqTZhjRqPL+kcMKtUOZ1qFkUxR36CNXiJUneJwQHvRxYbS\n1mDuawZg/BSn9f9JbpQ2mYZ4HtfvBDosp8LUvQUIn2jDZwooOUZBxNi5gu7u\nfzgwx1mzSR7QQ7AVnbtZRI8OZuDv97AxJEUxf726BBfPMHuy6TeQbnTCDsfG\nSGQsZNE9xhksE4OB6+hGO3XG5Huib7j2j+3LmefHmYNb+vQu7FnmB/DahWee\nd2h//vFCegeXTYkMyX/vkHvlmvObBAeeVv+tgG9tnjI6vUMhtACp3mC6XwnA\na+GTnun1PYMcMRjQxv6wsapC6rtZ64DrFF/vD4Ist8kNcE2eZ9teVIoeh3Ra\nHNM5mhTkmzdC/jNE0Sx/DOz1I3iKwv4mMlemEkk10bi3agdljYnBai7QsQ1E\nmIOxPTpQudDbAwRPZdjZdpIIEaE/yqJ4cLO4QoTJweGItRlVCkGXgRCvWUWZ\na4QjAd5dnR3axLRKIVdAusILysXzlUptZcDHl9cyTu9Ce3g4tFZlN3+1DORm\nrYUSyZj432Ab5OgIDWt/9Rvv3GsC/pf4AkIo1FLXw+xExZJ5n6b4AzBLVadS\naVf4\r\n=GU5x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICSTCSXQX22iVWH2kJRoBIW39ZYLMmOsN7Tqz27xIxY2AiEAqEwY33EP1hh+Kp0ywh/A8pTdAOY5TgaXHB6SRXAO0DU="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.1.3_1605433169303_0.28735571640115753"},"_hasShrinkwrap":false},"1.1.4":{"version":"1.1.4","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.19","graph-state":"1.1.1","pridepack":"^0.3.6","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"1faca939ba7c2b8688f4f01963d3d0cb45db44f8","_id":"swr-graph-state@1.1.4","_nodeVersion":"15.0.1","_npmVersion":"lerna/3.22.1/node@v15.0.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-RE4UdPCbocOjaZG/MzOwMCv5kjUsDg2kH3o1Tp+aOymk0Xy+x8Ekh1jLZMDNHhOk0Uoh/fuiYvQJJYA1c66CtQ==","shasum":"92b929eb03b6597c7cea6440f5747a0b8cdf8104","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.1.4.tgz","fileCount":39,"unpackedSize":249561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfsPrUCRA9TVsSAnZWagAAIKUQAKJWCKGuFvnL31CqERJN\nWuZmLTj+nPS07Lv/BB/BJVEgwEx/S+a5d0aIJqsVDbTz/478xhsnuOFgT7D+\n/WggkjRFLJ8noqC5FxM6B84U5VbmE6Ua6jINveVQA9itjH0kuLLFyUnHP3ix\nylY2D65exvunPc/8voO37PMG+jE6/3qtCTgCbQi5bXHAVUMqsM0qeFwfLrld\nNoEljlOeP9QzEyROZLaZpkce36+rE3zPBZCK+lXmKt6ZHAG9KmcLzit63s8t\n1UJsm9u///U5yCg0Ic9/7/yC4hAOU+1zC8utA74zo5wsKMBC7Tqh/0dF8aN4\n9/sm5AEZH6DxPQafvUXqeaSD9Ifxeo4sj4Wql/wD7KZUMrs/myE/wpIx/YhG\nQq0sItUjzkWoujFNSokybUAw3oQNXW6frNmhY/CANqq0IlIiDamddTe6/HsU\nnethBXAtARiKP1IDqvXZ0YswF7Rnnzbb4J2wJ0Aq9tCsv/xdOLCGs9hnAlvZ\nwPmgFf48QYxT0n8/aSYZ6fendUy3Q2J81U/XQ62Y+Q7Ep8fWob2akLvdqjeJ\nlbJm/5pK1WI90xGhPeY/HzxrpjYeyV2cv1RryZh+2SARWixbxZa7lFPw9v7J\n9b41a5AFTDRjH/H/d4fZ/SkjQCOga0HrZPRaraZSHIf+HrE/30CVD8EEbtHQ\nWmf/\r\n=lM9u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAtYiBmLVW2SoukHgVZeHrjwDFtv5tE6hF52FVQO6VmwIgXf1JxWFqsIIksZyw0AMTaYRJEO26Igbucx+MoiJwPac="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.1.4_1605434067971_0.339174872108603"},"_hasShrinkwrap":false},"1.2.0":{"version":"1.2.0","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.2.0","pridepack":"^0.3.7","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"gitHead":"becc0e779e7cc3d4fa9f4f8225d95508ce31566e","_id":"swr-graph-state@1.2.0","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-aWSGmUiqvQqVphJQG1t5J8vTcyWpqgmVYgpBvrrzdJRjt8IUrZpdEL+8WL/V7ip1b6VT0qq8lzpbERfQ9IPQxw==","shasum":"c53771832275235e971f9faa3c18adcdfb15a296","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.2.0.tgz","fileCount":39,"unpackedSize":249460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwSduCRA9TVsSAnZWagAAWowP/0+2/O2F159kmljHZihB\nxLNLSSDB10XSZB1qfK98u4bJ/ZYgZWMPY/hOq/W25Eo9RU8tN2W7QYTrnct9\ntCF6vcRHqX/XycvQJ/lKoatUMgJINlKO8OgSqa6rC7vxQws2pHRpcbm/lFld\nYXUapvkQxDtf8CdUnbHfKYMUxAh+wVpoV3LPtslTB3Z2XRSWSdAP0ylFueA6\nXnQD9K4AgMyeEMJmtM+tBsC6YR2uKWwGPoOEtMWp9877mcXxqYJSOibXjhXY\nfFeDVvz2zTyC3gyNLPz8UyQQ7muA25oRFJcf4+6E9ZmZalfSy3CcNxnplfxe\nXxbHBADX4g1StDZglQLnQYXWNvMwyud5iEC4rGA4kx7tNCmirPaK+Y5DQ3Vt\ntk1BkCV8xlq0Y5KWGFkHTjzmZhw6u5s9U7ThbjlEO2Dsk9ZfIFRqEESBKPqI\nlRPydMDBEE/6AnLClULLVQOU0QNWA9xyBwMQK7Lsa0f+ko6nRP53E11+3LEO\nf96oMD1QdMy6aW0p6Y3Oaq/iqMNzzxwTcXFMbTLK/IOTgQ4OecvRIdQhIzlY\nJVrtQKRjqrNrFy1G2vrNLxdVfCmsVNwEV1CfbkUSLHYx7jTfYMnX8PIVqawT\nXg1bWm1n3NUhRoM7E/+PKfRNl4DC9NILzfU1du/L3ZCvCEWg4qR08unU4Wk/\nZ9Pr\r\n=DVPf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBrv66LJftJu6NRBwlRDoPG57yCCFTKZ8wtV8uDm1Rc0AiAfcBZo9hep+iDBWbuIKdwFDAEhWDofIZTYhWxbXq5RkQ=="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.2.0_1606494061844_0.10223076622725769"},"_hasShrinkwrap":false},"1.3.0":{"version":"1.3.0","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.0","pridepack":"^0.4.1","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"54988921e85d02c54ae71bddd7ddca744622774e","_id":"swr-graph-state@1.3.0","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-Gj2R4j4I8o0oy9WGXaef6uoVnlRIdDiubUZrMWi1WW5hpINBQJbzBRo5hwBJ/Qrkh30jv45QPe6xneHCMhrHBQ==","shasum":"a582c676bd2cfe3fa1ef00fd8f81e7b6ef1b1623","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.0.tgz","fileCount":39,"unpackedSize":282951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0GOgCRA9TVsSAnZWagAAbGUP/3OH6CXKXPkfk5AzXQkr\nerLOqHGiZCKaOap7+jfOQ3cVLn8645CJGb6eVU2M494cjegw/rbAGwUicLfN\nH3E25P0MMLLTGguKsqQAn8dwycBIO11dXYXhhbNjK9cCVK9mUTZBIA9478J1\nZeSl+Quh3JEn3r4B8ZnqKTHON5tdIbVUnTt7iv0IWEo48WxiDidm44NhpYac\ntpmXSic8nkRawz7v5IK13Fi3QjSJRUsipUDX6JHGX3ng0YCniGxCeyMg77bk\na5FUsteBZoXRJEENTcNGsatA14hLHcYdYk2ZYjn4Yi7FPwqfvtk0fQzdLTdM\nU3L222OPt9u4PuI6d8Pz7l2/RXxPBftmb3cWNL6SNupIdlAou6mAhmSk6NbP\nkBDuuyPP8Fnr5Wpu51DiUuL1TjZlmtbrc0xWR4aqCCNQknt7FsDZubZjtfmg\nEsaI6wWHUnRwvt+Fh3fbRXmICO+WROmDhA69IDcytXW7zCvM/fmDyX7dzOQ7\nZtlFD9awMLgnZ7xrqumbFQlyWgsmvT8XuNSZdIOYry8F7rXHWL5MwBOhuoss\n12JEGeRrqtNzb5F9fMh+zIa7EDwPIYsSBTzUYTPoB84INwvg26Pgg5HvyuXn\nzwH7u6YDRxgQdwtyK76hhJ4Sjq9fZJSzxRc9RF5BfY/5BCDvaMhS1GR8wDAD\nklAY\r\n=Ibqz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD00CeRXXhaFCl2e27c09Y4mcMNvm+y/ik0We4zeycN+wIhAJESr3uuSm0GIbQF5eiMhypz3+aQCPsu64byObUWtxFX"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.0_1607492511714_0.9236547966199959"},"_hasShrinkwrap":false},"1.3.5-alpha.0":{"version":"1.3.5-alpha.0","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.0+b4db839","pridepack":"^0.4.1","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"b4db839906dd83d153d8257f5a15670c7db82a27","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.0","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-qkw9Rkn7XykXDLETdceqYZUeL8jw8Kntgk6nQEzg8HXLlqG103xJPI8Tka8S90uuNw84V+eHhE/s4/32MkPAPg==","shasum":"2b5b8af2d663df389e99ae137bd97d6e568966f7","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.0.tgz","fileCount":39,"unpackedSize":282983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0kRACRA9TVsSAnZWagAAehYP/jZqdMMhD9hV8+UX+C1g\ndCwjmQHfHtg+qshp5+8fgQSNwD4A3krkzavM6AyLwDayOx8n4oUC5YRQWkhY\nklBhsAPlTZEA40aqHErw9vduRBsuBk5j55zWoq105HXbiyDVxVe0IrISxDHF\nuy1AnO5z+AhYIy3go8mDTyE8xt1/y8To0MEJkJr4R5SOSkP28N9vK+UJNp3z\nDkMIp/XIncn/XUBhU3T4W7oTNO5AKm3xupgUBPxAZnISl+oahEh4kloPWZxB\nJNXAFv8dEjfZ1F97v1IM2bWBmyaiwVEYd4xmMs9QYzdFb9Vb2qPypRY7ITDy\nYWO9iPtmmZr0ZOgIqO8e1n56T0rouu9NMpfxFKDCa2xjs/cuk/I+ROTALmiF\nSKCIjVVJmZJjjWWaetgHWhcrtIRqMh4oRIKoDXk+meL+NbtN7Jtep7Fl1nZn\njYTFPzgrtK7ADPPnNjUeFon4NOf+BRe5UaTHJmk4sNe4onsPLitr0KTQWyTz\nr61rCTgE8d2AjfU04YLMhZiEYN39Q9vguMKOwT/3GbcZQTl6/7DVTdd2r/z4\nVk1u1ykiAkId509TbNlfpcfge5rY4cR2Zq28pqTZs+ZMIj81rv2TCBI5QqmN\nc2j+vaufHqXQjym3nTN2n/2FnUBOmMunyEwhIN0s9usWyJU5XKlBm0kyRI1w\nK5W5\r\n=pJa2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQma/Q8xcRJ0+9mP88APRzSz3yTiM1PtTtE7e16Vr47AiBrignbYkjo+po+NpoIkPIc7jb10gVlGP+3poH/RxcIPA=="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.0_1607615552320_0.8385796056292407"},"_hasShrinkwrap":false},"1.3.5-alpha.1":{"version":"1.3.5-alpha.1","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.1+592fdb5","pridepack":"^0.4.1","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"592fdb5933a33e49d0edc7d87de215e937611f53","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.1","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-hEzFPSUQ54vopCwJhm2CjvX2ODBpVuBMEYheFcPXb0Xpopd1KyNnRFB5cBqnJvdwGTMO5JRKQ+j9uabvZj2ytQ==","shasum":"c361a02c7442613004850a75606174715d74575b","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.1.tgz","fileCount":39,"unpackedSize":282983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0wiJCRA9TVsSAnZWagAAjIMQAIhtiMcxxv8CI9kLI1+R\ne6ahjUuFyG26V0L7+DW1yOdobpN9zjSETW4zSOGfoydCqVnxiO8kugOhj9u2\nPJOG7MajHoKx51g9AaLgIBLdnJA0yDtMJ5L+exXc3ZxV1PCP1e56JV09Ncct\nE2XkBiEifpemkTqbUuPaoqRxemFH5eBcWtWllmTGb4S3BG3YZhZYhEnYV2p8\n6FgXLxowhU/cxWttnnNbwMsqiI0VbxPwj9glEKDVKd7lb25+B8Iw5pX24Gfy\netvNu8YMLYhtOSLXsMtAbBbbdhj+4LYTFRB8LY9UjILgKOQ7b+ERpNiccx6k\no0eZ+OEipnv0VpZQ+EZIOtjHpnRcQ94//4/ATA7G+4/+YzIbLwu4UTEGMjZL\nM3s4/h/9LIiTd/Adf/9Qz6A/Xg/roYvwJLUaKpepLhxfPQ+9V5JWlcp+b7NX\n+sufZhnmewrbnlClR4W3zA1yShopiVfyZZbZX0QUpMphHQEiwZrLEZ9Ykpiy\ne6IgebD2NZ6z61NKZ1teORkk9mYBhydHztauYhKbvJ+83wVNXueDAAsjDVkL\nd34itoHWYgBsaFgkUjhKAYEcE3zLWBrqU+o4hRBBsgncuTvOWg0z6N5WlmyQ\npdCzjz7aupRzUl3a4fpqUspgXoDTotwJjJ0O4t1nWUQpu1PlNqnJ4w3LL16M\nlZvs\r\n=OkAE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIeUjVocc3Lm9kMyRHhjJ4VQjRDB4LO/FcuC/Ocn1tKAiEA7mjpwTsRZkyPvgUmFUfTxL2+kf7cShEH59XEAwvYuZ8="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.1_1607665800491_0.3980943309723761"},"_hasShrinkwrap":false},"1.3.5-alpha.3":{"version":"1.3.5-alpha.3","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.3+9dea32d","pridepack":"^0.4.1","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"9dea32d3e93d42511daa8ff9e8cb27dc8d8c28c3","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.3","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-k2h4iwEbwNO7ZNF4LBaXcYGjfu8RFkuWDiay7cPqqHUy9MycdfjwhaoYXthoF/M+rsw7/+Z7GxL5R8pRoBuzMw==","shasum":"670d2cbd2a41399a1a0d8182c8a1538619acb1f9","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.3.tgz","fileCount":39,"unpackedSize":282983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0wv0CRA9TVsSAnZWagAACMcP/2y4MRE87JD05pBBknTe\n68vzRZtkfbsk2tEr3K+fCsYFeAUUDpJXKZDvyq9YmJ7xsbjBezxDiQ55NO0w\nDSf/0fogzcQv8hNE0UljP7A580u5mEwZGqJY36RM89NBxl9Kxp+peNW7olom\nNlw6bUq1FnSQSRdUxzf1nyjiiS0dYedMbIm1QGYmNqq7krC5bIvl7Nfer2jQ\nb0Z1R5m3IXx2JM9YlHL81NJYvtXxm1h3JIgqkQ7ShGYF8m0BVcLeT26Wy75w\n+5fh4/6dcpWHuaWsGAuuzfwrjRHJbemgF8D/lZDEKoE+PC3J8MQBors1jPKO\nJ7CAFQCiVsBvmIaNBEFNhLL45gV09ibcaZc0av5JJ80YCvAW8EfZUUHWWgHY\nsaICA3Nwg9C6n7nvaW3l148/X+4ulQKzzpIJSyP5ePzwcsJhDpt77Ktq+Lcy\nPQ+5xT38/yZ+MM6DGhggIE7ly4zVvGNhPr43GIutYa4NHtofSFsSAefTS4aJ\ngmnYQazcReV4jsZnmk1tn8hzqiPp8ac6LUhOLa69TIkuB5+R8fgYu4LDe/mQ\n4LPHqF5X3oherOdvqZXZtqkB+6r1QRzXqNDOPDow1EOtTlSoHFuZOWLLEPZX\nWe02OwSTQALaXyiJKkguannfpIQ2SRUTOcOtaQIXIMAHC3sO4I2uLE5Yz2R/\nO7DZ\r\n=LgW0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGvqgM3eu48Fml0NwP7Z8LQKatThYRiSP4u4vgguJeDeAiEAvRdsDI9ypUm/3SVC6hqsluIzb8ugAVnjH12JL+UH7LQ="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.3_1607666675813_0.8772053966391073"},"_hasShrinkwrap":false},"1.3.5-alpha.10":{"version":"1.3.5-alpha.10","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.10+2fedbcf","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"2fedbcf880e4fcbbee50774ca0727fd1dcc91aea","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.10","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-RXO99jVI99zNyrTsP14I3ibs6ijZAYpyapYQhp4i3WW6qdVQX+uMPx+RPhwmoHnAVpb9gAlVS+Ds5oOA47TIwg==","shasum":"2a69efc3c71fcc100ffaaed7f5868fe6082ebf85","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.10.tgz","fileCount":39,"unpackedSize":282627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1EpnCRA9TVsSAnZWagAABF8P/iyUVNNbZzLWE1fV847z\njfgrfhUSbe8y1K0mfRlklAcpKDxtXA5IaR1Rc/T4UIbKLsMmH0nhgt63/dp0\nhfMUBTTq14ReFHNKLGXG+uR8+oq9sA5WN/POWEVjxGWm1k9ep1oWb/ZgSfsh\nKf4W3nBrGlCORA3FoTZ6cygXVsNfCDz0kWbv0tjl2DWl3wZAVNOO/gkgdjVq\nMKu6VUGUYIXJ+vIkIIoUMSFN2Kt1q6giw5s99F+cTy9zYaJtn3QK3f/NW7Xg\nOlLpaGT/3z8trippTJI8Ahebr4RjtNBg7LIZu4AEb9FLqTEptYFU3q8n9UQz\nnWfE/FttXdBVS/w2z0iNvnkAq4HQgHRW0H6dcelf73QRCKgtCbU4i2OdvE+s\njR8i2Ycn6QEM9VX8o07O+w8WLcqr9i4fZhCrUY/0dhs+9n2nB8cn1WDRrsN8\nhVdPUerkItOww33pwq0hBkaIQYtdrg7CzemsWjpF8//0KoTVy6q15wWMhSKa\nL9a+nsEnTPEkb0GMbaUse9bKbICpfXUyCRuvlq2Nnm23rwDDDY+NFX6S1ei0\nWbCX6dQV/sq0RiF/Rr0oHcHQsn5ERssGyWKy4H5bAPBXmfXbQrDfqgf6so6Y\nmMn9H7/z8JpIzlPd7ZbfVTnU+zaCXC7KC2dCZnHxr5bzr21PDfPfxMw81J6n\n13fh\r\n=Qe0Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0pJQzKZqD6/ty6enqT8+X0+zE691LWIgn+dclIfc7wAiEA2HdxHMefTBTAJ9k/3Sgc9a7kaPU131ijpwwDzWjSSH0="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.10_1607748198862_0.49919132610974803"},"_hasShrinkwrap":false},"1.3.5-alpha.11":{"version":"1.3.5-alpha.11","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.11+ae579d2","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"ae579d2087b53337b0f900f508784c15ab7c09ef","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.11","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-bR/mFOdnGoanJQcT8su0bCglEySeH1J4sQkMuMYRBQ/NM1ufwaQx5XpEV9Nj3WVsWoUEdPOkbjLHc4FyeaDdEg==","shasum":"d45df529e686576b5b05613eac4fe409597d839f","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.11.tgz","fileCount":39,"unpackedSize":282627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1LttCRA9TVsSAnZWagAAW7sP/2Cxo+m2TMCbR5obDhYj\nei8Y0gJ6EjqID1ViSDcR2yDhfqjML1qMNM/C0g+Qoop6I+4HdL6Nm3b4Vccj\nbXF8qMP0zfjlQdCyOx06ZUxMXp4tEVn3yGpHlqGdgX9f1wmz+C75C8SqFhIM\nizVaWQvZVvnk3pNQnLzUI4DtNxvQ7EXK0GL3w5mtQmHz7NHHspPvqy/RS91/\nHYgH/L96IlCiB2kplzlanrmNivO8dunQ31UR/HmGqqaHLtlP3v9B9nkxF2vh\n6sqB7ZltQQSA1PsE1H9h89WMGOgBDPaJAgjdblESSFzDHubfvr3rf5X+lMgJ\n54EUBsbI6bDraV4VJXCiUIwu7rSUkblIHIj4GKh4fN0EjhjBr/KSRHcp+2zb\nsUqgqM9XeTk0By7HJZUeda8k82HGrTVFaXpSvm8aSTYTU0xd2rXhgPJhPbvD\n10Fffx+6qpUt4S1zySfO0bQuv9tohT7x9fxJejGxV31TV0rKx8FmNVT+YSlS\nLl2/xCVHAWqHZBETmOefqYFSCigYoYCtYlQOpvOMIP1Tl+rhrkbXkLNT3vFU\no4NJwSleRGHBHTmpMgrppRUM53ZtBTl3tCDHAS+aY5+eR+irjfVmN4PoTcfT\nF99PR07Ns+0fntbLlD8RJtATpuWux7JKbQXyNLkrzmcp7OI4S/e3ltoZTJZK\nB7ze\r\n=GRvl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEIz7zXzNFjB+WB3gmUHcEapiQVFkaDz/739AhLmhgfnAiEAoLQJCbpcbE5PZc+a5JQilxbA3/pmYX0RaRBfRzkoHXc="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.11_1607777133154_0.49624381648122506"},"_hasShrinkwrap":false},"1.3.5-alpha.12":{"version":"1.3.5-alpha.12","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.12+d3655c2","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"d3655c2c61823a379e29ab2204b010c329f04cc9","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.12","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-wV5gA0zWsSqZtD7jZq9PUM6a6ZaAlWj2skSygzN1hlzTeMpN6m5pnTmIf72bFe2nx9/3tuVYzeNv4xggtxaK4A==","shasum":"ab129f2757edd1c07bebe49378f26e646137b241","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.12.tgz","fileCount":39,"unpackedSize":282627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1MPrCRA9TVsSAnZWagAAQl8P/0/FAmWp72fQwOKtzASi\nmvBszWlCiH7exb72jghRIW2EweCOynsWp4J61Ca3PRmFc+C5y+dowZyvQ71R\ncqXcexGahqn+D3Wkll75m2k+19JqSb4lQeaKpjNyABjivEuH+ZsS/UaiwGoW\nAE5yQ1SOe6FZ+biP2/Ypq2Jqn6H4Sygca7FqiPrpiF7Sl4zIQCBYr70P9qi/\nko98KNcH5DXCVPERl+dIgNFPh98c4efZ7OLsl59YmiRg1G3kFQlm6cVmRQWz\nzAdMcBf75ecDhbLA3WAqaSUJEBOtpMWYuZXr3cJ4wI59q3SfuveIt//t31fI\nECaaZZH/s7xYfPeIY0uScdy4vzCXD71S57x5wPa1pBtHLPPxVqj6MkGxmZzk\nlfyhr1a426JG3aG/QzbTJVyjNMP25vLsgX2AZOh2p74SZ3dmRW8KS9/3fqKK\nMpLwkmahlUu02rL+qix4y4NzuoK4WMRpEnzbaJZeHJrR0AKy5pBTelh+jngp\nraheOvDjJRF5StJfdOHtfb7duBCOljnkckT7kvOpt/uCy9OMwgcBLipG70BC\niLNATFGQmT+OTD5bdFp7ai723XDvXLfLCuIz799VHNNXQuze91ZRr1eIBTye\nDVWv1FpYL4Li7jyoyTBZM8i3Eih6KuwdE1vzI3Q3BfTH18aOmXTPOIRSH9M8\n/TQx\r\n=4EaC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDr2vDl/TlSln0AmBLPTJnzi9qhl2DdPu7a/OAsPk6V4wIhAO+lDnOgy/IEKipHBSDZ9trx+h0ajxLyUALX/v/hVUxq"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.12_1607779306401_0.8353461970610834"},"_hasShrinkwrap":false},"1.3.5-alpha.13":{"version":"1.3.5-alpha.13","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.13+20c9bbe","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"20c9bbe341d83ff0c1abfef19d0a1f0a040d22b2","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.13","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-xMEDzlv3zFJ8Q48cOOYHVXM09pFhyUM9ZqAqGPUlZZbdFtbChvFW8R6RWpzvZeLllVPMnjz5dPQmtISnBBzpgw==","shasum":"de8ae3788b386914f1b4145a2a7adf3a6cd38954","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.13.tgz","fileCount":39,"unpackedSize":282627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1PIxCRA9TVsSAnZWagAAl/sP/icN7x7hXRuvwwxU3DTN\nQPqM9ODFrh8IPip4YxOBc3IBFYB8ev9VPVGoR5+Jjfzm5jEqETDFR7dUyxgH\nkl6+ce2qsVybLyr9ghPEN72JAHr5PqKCfLfjUBHi9S1Bsw+zOicTySJxpEHh\noE7m11DlsPrNWQdUYj5tY2jnofOao3KZdNDsfM73KdlML+NHbY1AmIettKQs\nek1d1a8DxNhThKM2D2u+R6fZBdS9a3eQGZoMBj/3OZS47Yebe1oU8IIprLwb\n6wdZfJ2ZaspkB7JzdKtcRwMG/3Sbn5DQx3KLLVLWV9s0K8l1zVXLiSeylL5O\n9AKQiAv0RYPUS+TqMMseLZgMJoVyu3X4GrMbD5Ss6xq8t2Kml+n26Ih53s10\n/RLBfwvFuqkhwUjrFu6G7NslBVGwxW2dQUv346yzHuu9MbmEefArfwN/JwZZ\nERt5olm6zGQHk8fh7aWJSHilnq3jl8oHNLF3pS79EkEynSzXR0c8LG9WJO+A\n8TwzekN7pgFh+l0d+qCuckgX1isDuiDLX0pxnQgYOvfaMreDAtkp76d+Gpgd\nk4HL4O+bTep8go7W4+fVcYXbj/i0W4zbOX6hGLjHP/8h92hfpbt1w+OXaDKQ\nmv5DQ+pGVSEgJiKKAPkIc+LtEnVLjOLswtElilnFnKOf7hTnA3ouRhrvz/ky\n7gky\r\n=wjV5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDprfv/PeW//woig3z/JSeCmGNBOn/Kr9TR0OAN9ulw9wIhAOZi+85ok84Z8+LP3D2Tz+CsRgbTHBCV9A9lTLv3Gkb3"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.13_1607791152774_0.44614758677078004"},"_hasShrinkwrap":false},"1.3.5-alpha.18":{"version":"1.3.5-alpha.18","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.18+8fae340","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"8fae3401226ec1af30ea31e1d268bdcda7565af9","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.18","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-DqQgIKnzWepwTduaO3QsBsVcQsCMrEOWBETBAkwZATU//wHV/3SNm4lAoPh1gjl2DPnQ35pwkI0P9A/Xw6xzSA==","shasum":"0293ff597d920c0ab697a062cb7cf14a6b96d979","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.18.tgz","fileCount":39,"unpackedSize":282627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1Po4CRA9TVsSAnZWagAA8psP/RC2TrCMqxO3bZXlhXF8\nqz/U8BcO9Gknuq12NYUcx8EDAk7kk5a0sG0lINaXaG/pvighUf9XpwQPQ2BL\nZ0qVFd9pVon0SkcDjzQkMk1ahMG+x7707iYrZLNV0MpiBuBZi/VrRg5Vgvj7\nalg/acA4iDZGWMtv5en19wFJL5xPC2jB7ugfCzBxDUnVMJVLFlo7T9cKrvY3\nBz4kyzZl3bGTjKGhX9X8bKTmHF8TuLeYkMFcXI16hjI4LCWRsWS1RMwy5E9l\n7UkjDEsOMPs20vuax4RdsU+Wi+p0Topecye7EJncBxhSjAfVh5oxhR0aCzey\n1Vz12LLJm7wFeeSxHl1cs6IY1q/JixqflX3NlOeGBjRUsiooPOEWRArPXrbw\nF7VPPypilfpOXDHt6MnjGkBw/biyI6kRK/ttiuiW2NqtaF9IbZaAKFSQhY5Q\nUsSGhWpmWfg6sDQ8h+EYGwjBZZK8gjnNMjoQ33cgMlq+DZmZPS1iqOG7gycl\nzxCV/lFWWKSqmvWP95KBgUvdFq+Z+JqslcMB/XPrLvpxmLNWVeRZ/DD2SRFp\nrmux1YG7KbV4/2u6dnwnNmdChnPc7KTzyIdc5qHBmZhSCfd8SgfXPxpzxxRI\n1n2wvXIIL3jKMmfTJnrO6vB3GN5FezViKOxSiDmmq8i6Fn8394V5qCv4kB1d\nhlnq\r\n=0/W3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCC9TschPoPiVNap6eikLSPfyWBIkqSSkLDeXCX2WhtagIgby0JE39nz07PHcyBigdfboaLVh9cgUudEq5anuh/yO8="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.18_1607793208366_0.05279331853374769"},"_hasShrinkwrap":false},"1.3.5-alpha.27":{"version":"1.3.5-alpha.27","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.27+b5b305f","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"b5b305f1f5d3c6973a2f2ac711361c61d44d5aa6","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.27","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-W67QHo7qe5X+L7FntNyrSmEVDOXT7JVikp2p5NosTNV1y5ydjFihqqtlKNAbFyAeHrXX2o2+yz9xTPX5EwdQPQ==","shasum":"09886f068f5e89104d7d50a21993c6e60bf77b9d","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.27.tgz","fileCount":39,"unpackedSize":282627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1iM4CRA9TVsSAnZWagAA3OYP/icFFnyxjN/X/e12glI6\n7Kvz/IYAlKWfWBIv4Pryt0u8npF/ELWK34CL0PaMDS6uzNQzmNapGjVabIoe\nh70RlyR3g4OOOCobV+xRIdxLskuJ1CiR+MiYfXp6LocfPI1FdWsQm+VOKTzi\nWaN7sjAJejoC/aiAy1L3+AxNxYedzeLHqHAFKuNMt4ym04o3WF7FGNMDmh9J\nvj/OiaBrp9kTN4Il7mGXToaBra3IRtcyZtsCqaxx7rRlnW3YfGqHwZiDYmLA\nRMAQh8lkPhX88e0LQBR8mek+xmDfpe+0VVCgYBrGPVtyj+jtLkH8fqMAX2Ib\njsVHjJrC+sR6jEOh5K1JidsHQ9eHDxgYYXWyQNCHuwZtG0U3XVp6fl3Gu+Pw\ner7uF4me/hDBfkybZiJH74oTnzvDwRuh6vKU9yatzRbm7tpz6Fcfr26OoaMT\n0lNrB6IhAuYOH5MEuyrD8XoDdLAQmL0X11Z30MZkWub+vRhCV+zTu6AMn+G4\nqdNuefuffteOY82GHwLx3iuCmVcNKzWs8SuDepI/aMgiT3ZGMwzYdSNG4pCC\nEocVwYqBsCghBrrGa8JEEn/1SgO9vfUS+8beXj6ZuwLm3OWdqkx/m1I3lzgB\nMU5fUliXoOEcmbQbKrSrACii79dyI8EvNZs4qvR1n9uoRuJkOswKXI29c83f\n7TeJ\r\n=UK9o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBSiyfv1/ZAv/pm5G+46/AgxmtiMdVAbK77yBsrPJz04AiEAluTfo1GsatOacBKDkp5CUxqqUn2e4CZROb7uYwTqblQ="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.27_1607869239663_0.6931838158555073"},"_hasShrinkwrap":false},"1.3.5-alpha.35":{"version":"1.3.5-alpha.35","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.35+6613c08","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"6613c08dd23e8b2a3af5efd7b02a1c18408e4c88","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.35","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-N+EbRrYF/1YhUChEQ9Ycn0j+gfjk0AxJe4HcVFewbPMGPwqEHOUP55rwLg/9SOz15GvEOj7MMoLUQrOyor2DWw==","shasum":"c13300f662551a7013386fffa867e9794a74b89b","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.35.tgz","fileCount":39,"unpackedSize":286098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1kUvCRA9TVsSAnZWagAAyV0P/1+1vdMpc+q4YOiWHPRW\nt49pOWMWbKxCVtG3lRf8OT9wOf5uEqltlWSIyYeO6FIjJnQ849/4D3zdF2C5\nBJqRB7NoQxp8ZGYds/cH08YNprx3LDiA7CyNVX5tfgD7YHaqpgmMXfnQrXg9\nbnghyFry48pUVwi03TGJjU7T8ADNr5TtfmK8qtyzP5nUKZKdqzNVcTM34MgB\nBl5v8cShPkZGPxNpfYzzZ7ACtI3nYgk50GFiKszjbHJgLVjF/EZC7RLt0Pf1\njvgPUkUY6ZbXUolxSZBn2+yj0QWvZHugNRDfzFOPewc8p3rZEn1CHVNQ0icn\nznYQp2MoQqsKFhs7eLoxJz6oIQVkwzJ1EIXFDrvzqhnOuGAr+dr2IrS5Yxqi\nfcE8FK7BnN5xCXAULG7ZaGpcD23w7dPPDGRDNJQz1650vMJHWn1MqvWx6Xfz\nhLbCh8/zzRTCXN5MewLBma5hgxNtZtJG0lYinZFLlGtzRxn4jWfeu2JxXsLy\ngzAOfT5OLqABg8XZJNwlw8yOnu5bvqNYTclgGoaAVjcOkmJxkun9/R6pg4uc\nG7YnZBDZgdWivb+lSsLBLLdaH/20bSm6NJ6QxlXJm3NYM3neHpwqyPMzZ3+I\nV1oPZxzIAQ+/eWrorASRH7Z/dg9Mt97jHCWD0I3l0311ysxT4+x0a9syT3jp\nb/8H\r\n=ag78\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHgYwj8GF8ykpGz2Rzf2PKdVPWawyCc801UGZo/zslI/AiAVq+M0bkvH1GcuvU8elcB+vnWGQltt4mmaOIv1WTBC8A=="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.35_1607877934749_0.15558853479179002"},"_hasShrinkwrap":false},"1.3.5-alpha.37":{"version":"1.3.5-alpha.37","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.37+e482a1b","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"e482a1b64c12d2bf7fe9299c89a92034ce5c4f5d","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.37","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-Yw6+fH/qan8p9Iy/4ZGGmCM8EHhlSgjZc5Jn8WC0A6h1/g0TNxXW9i3nTsv2V8Bz/513oL1WQpBu6omhl3/hRA==","shasum":"8b83df2e506752b1fb57980178558c1572c21135","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.37.tgz","fileCount":39,"unpackedSize":286098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1ksCCRA9TVsSAnZWagAAdvYP/AkAkAp8khYeJANPNJH2\nDrXHAsEvMpm5vCEtUF+lGdNKcCsEUm7VGQPKmzI/OqnfzN51mZu1/t/XnCeo\niWnQDAG2bkp0yfaxdfmhrAtUnp60HVRQF+52N6iDVmKEQQt3sxZIlxwpWa63\nTObdoqwoQ/SRmEgxvxcf7rq1fZ4WHFiDxgJEanodihdCZjSz5axIOLamN2Bb\n9bEfQyUsrVNqb+3tUzmtiAmMRY7fM3UkRhl5qZNgDNwzYpnTYzmuJpnC5ff3\n2xHLHP5EhdYAcqNlbyAmtBAXwvzhMgZVlpzgabdABg0qPyYVmwo049trLKuG\nnYUM8b5bqcQKxPpU0AgHDuSPYJfpwCcj4Y9t2qxMTeaObeTkL/jxVgJXGeAH\nkJ2tORgJXUAjS7dg5OJrm8ECJVjofqYwOg7OmGikuk7HeuEKx7epJg4io8Ia\nK/FdhoITpqR3rOxtTAgVEEqKN4ak+6OkNNEgwwZLMLa028GLKDdC8o0eTs5V\np0SFX5oTY+50pcGxpZMkTYDfRwK1bcQZ3KhfzI+xqdtSwaTGeCTV2rWOgL+g\nnNd8e58FplWy7ETZnw1JcFpoOBRej6RHvNYbSU3XrPff5FRY5SwC0doPGO0Z\nm1vKH/6mzvmclstaySqbjMzbPdrnl4Pv5CFOhXTEfgGpe5r7bYiWdT/lV7yi\netar\r\n=T3TQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQU0YHBTy2Rai0lA6FHxCH5PuTaoF7vdqUxYH9cdlzzAiADkfYMlopXMF8HBG9QEEwvo5DQDfyyjBcESXErY1lPbQ=="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.37_1607879426208_0.1662694224441641"},"_hasShrinkwrap":false},"1.3.5-alpha.41":{"version":"1.3.5-alpha.41","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.41+7d72043","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"7d72043ca211166eaed16c5f6b7d37b00486aadf","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.41","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-YJFyezuOOu9CUh0iPqWnxTP9Wm1c9/wYteRDx7h9aKGZDSDt3cl+Xa4GKO8ZR+jt7VQRq4Sj4up8en7MPaQtaQ==","shasum":"b6632b0b4cfca227f2007fa6bdf1500d502cd161","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.41.tgz","fileCount":34,"unpackedSize":277230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1lWcCRA9TVsSAnZWagAAdBgQAJFz3xdy6tVWjvcOEHAD\nNRIpWnwoHMBoPSaYJVuGK9crbPFMaN6YP084fpaOqosxpEieJDRatWjriPh0\nG7j80hdVTiWuxHue6cEjgAuH2oAQcyHrZTOvHLbx5NRXfEwREmHkERzv94Pn\nxjQ8/AtbETbYEqSYs4poGlo5XVPbAbWfZAsFTlSBZ9/iC5J03I41nPbi5vcN\nhZA5WarP0xUZfiI4G9c6ZA3w2x4RmM8Ug2RN53OOezBK+s481HOGQT3aDVzr\n37IveXP4fIjKhoiHpy5BQGIvzIxcHbiJLT6jLj64MHLeiSOTQQ+y3iTaGovG\nQcMI0cM1VH9hxE7MqLjdJvvUQMN/l/UijjaKPGO71AvCnnG/gJN8jiYa/ASg\nlrBLKx9KxBIlfGF3XkANr5o+n4yG8dUE2anwWA6shRGAMow7aKt/k4cLGRx3\neGhQJcNuW/U+E7gQYTKAkRX02NZicNm/20zPE3urruBgJw2wvGmVduXpjO7b\nkeVsmVOPQwlM7EI38+Oz7yAB98x1iqNYlWTNbqego8fptYF0FS5xfeWjtjqt\nQxPiW6OtJgpFYapxXooHCpdH6JwQzGmWQ5k66M1FygytOmDYt9EAhpG0/bzQ\nMO275u1NRBhsxLgXzG4jlm9Au0BDtyg1A6YrlCWtuekUTQFiKWPhK7bJ10He\nA3zB\r\n=63j8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCx4pDrklqBFVKnnhPpmGsBellyC6Cwv5ATwQ2zO0E/9gIgKCrCedSIdkoIajpHMak2AjFhIz4duPIvnFw/oMmrlIM="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.41_1607882140159_0.8344205387671673"},"_hasShrinkwrap":false},"1.3.5-alpha.42":{"version":"1.3.5-alpha.42","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.42+601e30b","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"601e30b6692e172e57c8c58f32d7dfbe6792f93b","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.42","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-m3Su2mqVfNWxU6d1QXruVLljKpN8n2dkW/s3HdBldlbp4yjtjG0fI9ukYrG+t2wvMnZ6b0PUCQpFJp/FN7XQ6g==","shasum":"b75cfbea409899c576c66caf4b6a82075b83ea73","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.42.tgz","fileCount":34,"unpackedSize":277230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1ljRCRA9TVsSAnZWagAAchoP/A2YNa7QoCWUhOxRhw6v\nGiKf4ldqE3w1tS7kG5VX571QhZhXJfWvb/Ju9BvC/fF9zNeimrfdiAXasa4c\nWlcbP9gjjj4ocTM9lrxe8Jpb23S6i98Xn0zJBNBnEmM3tzwubD8ZsFcLO7nb\nqX8ACGaZwAkdlwZOlG67P7oU+MSXGX4KS1m2nR7eUn1zIyxMlS+so79PunBz\nDD3WVA7huUxuLKVqqkUG+vYO57+NhH8mORlxUBz5JtFOKlEBJLYpE4VCtEjK\nkACDE8iVCckRY4C+ilyScLswgP/D1ike1mBS1tuWo5MqNPniWz2dLL5XufLS\nc0NRYUySMTjreJAaTLXduVlSVVcvcNTOzlYAhPU3EQIV0uZyUW8fIOrk50G8\ntKl8VBamGskGeP4HIjhIkEXOE8cmv3YEK4zqZ4N80WD2pv0s53ENaCj9sVno\n5YRZRYNs3VcrPEBjD6Q6b4E0iAmdQ8Gt+2XdxiP/vlqeda4/8CJ7FQVKbRP5\nEM6SU7zGYLMUvAaP9O3FiBSXlPXP+CIHJZ22cXTbOF79HunVPcr218hlgD0K\nnCRMedZp0VukAg45+vuuN0GVZ+s6Jp7HhYs0Ep4XSapUCqortuZUGTK9H32X\nVw45FFgKlu3q4v1z2NujsZvvadVzXfwkQzWs8KuVz9sQpSFcwNeIlOZRvke5\nG9GZ\r\n=vWGm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtWkQUnaXDD9NWAA4L8bZaGe6LZgQqLaNLkcexbQjvsQIgRgi/hH9XbbDQUD9ouIRL/gzdi/WrT1+oUvRK2gMbdDo="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.42_1607882961288_0.37009319948111097"},"_hasShrinkwrap":false},"1.3.5-alpha.43":{"version":"1.3.5-alpha.43","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.43+c8089a4","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"c8089a4bb44c4398fbe86d2cdf7871ca1d67983f","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.43","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-694A00uOfGoDw9haz0b+EMaxAp5oq7CuiIk1j369VE8H8Rw9c+Tri6gZUmxVdR4XCD6wUqkJZtsx3Hu8lJ8dcQ==","shasum":"750ee03155faffa0a7bff50793ba0f4ffe2accbe","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.43.tgz","fileCount":34,"unpackedSize":277230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf10J0CRA9TVsSAnZWagAAUsUP/06jv6UALlsJ8Mp9wsH+\nhNNjN2K5gb8BmH13UO+EyXkon51Co3F/QG6shnnOcFgGaUjdKwa/dVcyC5sk\nwx2XRkNAEoQSKekXu3Kp+EI5BVD3FnjkwDBjAC4gM4ZS9Nyfj+QAapCB2zh8\nPMeg9YriDDQcURl1rdAqAkUntkKRdZCAA+OCZfOn7g5M9RY2sBifkvrSk/iZ\n0BAwcvL654Q/TN6DmYnrF0Ll/w26fyjYNl1axuL+36845CEQa+CR8XRWaQ6/\nhUZFutFCdq8PWk6n5ootJPz5+K9a0ww13kogE6gSzZEvfGlPgupm5SUaRyEK\nHk++eOpidWQwt+Nw9QBnVY0lHN9KSDmuWteNkvEvSIhKqdWLePeM707oXgZs\ni7nCm48qQrcCAn8jgQrQO1bxquqspoiJPzAMq3ICPq5SKJYz0STIQB81eKmF\ne3cJHiUW14THTYVHMhLGbWdR+dxPCVoIuem8DQ2VqdBSPQlAI47AU8M4Uzh/\nj5E9jNf428OQDKE2rU+/pCWjYjaJX26x94HhM3zFTX82CofSd7AKQZ7zQGV/\nrBax8lV6jMHpjo/+eNXgzCdglJOWTCNBdhDfGIA8sMEMkH+xdgL8yVZm4Dh5\nWDibo2nNvTV0YCxEqjnI3uh+8EFc8Wh2who6yHw3b0PsePxvy/ZpsnicT0/g\nLkJh\r\n=YQKl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8jEq739kXIZVDpu7NRp5nXI942J+re00WPrzxPfbVywIhAPuYKK1OySvHu2LZlMhGyPGVrz2/S9y1lKMB1Pol+A20"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.43_1607942772136_0.8235720812018423"},"_hasShrinkwrap":false},"1.3.5-alpha.44":{"version":"1.3.5-alpha.44","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.44+31a156c","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"31a156c67e1a4681ecc1df7f945237c1026ff0ce","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.44","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-5aNG3Z9+S2oWiiv0W7F62ZLywk2UyT2pMHZ6+fNpw4P1BbaidMb0Kd0nTCZZdfoRTtlnWxxc+3AKBgPq9IEomg==","shasum":"1a3d80776a640d57b535a64e66786ad38c7c631d","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.44.tgz","fileCount":34,"unpackedSize":277230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf10TJCRA9TVsSAnZWagAAo68QAKLURjmm0BT7lvwYJrug\nhV8VarmI417p4B+SFaBYwoApE3DBIazRZAF9AamaYfu6rv8CIsG0r4++jpPU\ncJ5NPpD7nymTPo099+wb8AgIie9+6jZvVXJ7fkZyDEzOa2sdLHRSGcfg84Ng\nsAZ9iIPynOZwVIyAWjHw/1TbVCSUCemo2skWnivW6kUu8CCK2S/eAk0A3sMX\ntJ+uiPp633kyIB3JN5mBNXyxZuCAOjgFIzbW8pmEiCkHIxbfR4seFDbqsHCl\nvL9j6S/SaNPaLYLGokUFPGSHXoVNqYJ7rC4ni/rarWUJRPc3qy0FI/gMg3dn\nQbNOgAEWdJ7/FT+qK5jokGooYCsVtztvKYKx+Y85KdkO7pTf+IhfHhrYd5ai\nuLYrvJOUOEIxfYGOdOfFYxkEMK2YC7wrMsrVwlZ42/4+Dr+tQKv9DNCb0cjj\nc6jw53GPmIX+aoKwFn9N0LJhBSUSKS6y1/5+7HuXASBFfq5mct/Nv9Rh1VQj\nLYego9bMpoKRXS2gm3kc4irgsT95ODeW7omKzPCXAUCsK0uLCWyOSmr1BqzF\n+YQrqmaQtOJrITPJqhb1tmFKvabuUyutMmK8uxRuVbrdLkdUNzqG3KOi02yY\nsuveyCj8DGQxUmIMWqW2CReCk5QynS1uEMan5EoX7WMO8oD2OITCSyR2ywDf\nZanG\r\n=GBTl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZVY4lfrPu8TBnYeMZ0edqjLdbtyZrK2HIN0ekyRrp/wIgDUy/m4m1TLQYtVpinaO/RQwDhUzbcEdDuCR5W7F43P4="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.44_1607943368856_0.322200083785396"},"_hasShrinkwrap":false},"1.3.5-alpha.46":{"version":"1.3.5-alpha.46","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.46+610aa0b","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"610aa0bcd732d5f2ceea32a25d2fc3b916d3acf1","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.46","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-FejAs4KWE8ZgTx2AjxwA6DZTptPTquWDuAzkue+tslNcnIF76kkWhmwIp4Ocuy5GxQCH2lbzDBGl8znsPWZ7Mw==","shasum":"8d4049e17bb3e83e2f8715729cb7bd4834cb9865","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.46.tgz","fileCount":34,"unpackedSize":277230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf10ZoCRA9TVsSAnZWagAABPEQAIqmqcjGqg8RYmB0gMfp\nmyFHx7+It4tXi6yT6eTpR2TSea3NTJtAKMJiL94JeyUikYx+1jFSqPBwGtf7\n8mERbnMrgdpv8HGgU0T8arcFyTFhAyO+6D3ujJ7hk6a8vcf74DkGDtY0UZMO\n4WsXL9NHt/Q6M4EGwbjMKv2i9FuPIciSnBQQouCgfo1cQzJyHeTs1HP9D3vP\nqzbLaGPnim6bTtX1EXQTereiyYtNM/XuWmQreMY1+1T2AM3gZFTSX0AHfSfp\n52Pte0v+wSEm1oBahcsCE2rS8+SdmdJSaZ5lyduYQLojKWT6mp0NDCp8z9ly\nZemZw0sT+PBfEohv34AFGJ9/TvzfAXlLSTH5T+EkYidBOJvGCAoSU/MwI9Jg\nZm0TEcPkeE6KZ1/g/4wZUhM1uYNghIa/xMb8esovQsNR+qX2miKtqQ6et19w\nYnVVwK78kosT0i/VfbQbZQpGot/nH/U7Np2O3HK+uTD9RhzA2M9goFTVn75N\nXMfZ/nDSH1CIuQAZ+crQycC0LOrrztS5JbgnzXbCZFFPs6+gJ56V/kjsBFVI\n0QN4yEd9Va6yFjaiALtImcwnZkk+e0h6MD2AGlG+JD40SZiVCQDkmgB4Rz70\nPkUAV3e82BTomACzGczmBYwhbODGjrh1M3BJkV9YlGKw94IJDMAAnD0UepIZ\n9THs\r\n=hmrl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHXt/bDAM8LJKa12ELfktEYegLdPWkw4rnlo74bo+5sAiEAyiziHidY7QOzEwB8F5GE9CHuofXf3FvAxpHBzxSDw7M="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.46_1607943783778_0.0912891136825067"},"_hasShrinkwrap":false},"1.3.5-alpha.47":{"version":"1.3.5-alpha.47","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.47+258ca18","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"258ca1869cae94c794c293bc9258ea74a6af6440","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.47","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-/1LrKoqF885qUe4uny2jXaRtKflMVUX4e9bDggOdznvgHxGDADy7FRNnKQRyrgwzj2wVa07WYuYI3PtxGiMBEg==","shasum":"317fe487c144cbe55a8331d3d8120ffeb3bb9321","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.47.tgz","fileCount":34,"unpackedSize":277230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf10cXCRA9TVsSAnZWagAAVcwP/ieZd+GX5Zk7SpWreYCh\nccU1ttBK8rXlz2TnbSy7xDtrHmhGBf+9dDNypIWGVQtnQgABcK9PmPZwhmQe\nz+JRYTjiE/LekGfEsfRiAbkvHrq945EPTDIirLVG+i/ifXWg+mQzrINgb9TH\n410pETfMamfOSIMj++wPM2XplfTP6M/MoDK/rYADVdRdKolaGHH5FhVfDfP1\nzbwcjpC7MJf9NiNlomyQoeH07dc/6G3tTpJ8BWn0EOglLBPGNZOXzQVoYLYz\nuW7pzRDJKQzUKLH5/dibNJjiH7ye77sfexb7bGS3xvFDA3KnjZCu/gxl+B20\nx6Tpg0hfHPmUYCoLVzEiHwoyro55O+oZgW5LDA6XXqKf3ZTc6gO7P+3eRcWo\n22NOsFuW67BshbWBs9UOrSw8e0Us81pbrJcv/OJ44scBsZwwB6vxysf3GVaz\numvPG7pz5nQWpdlUUlZkpiDJAldu8+Sm5Oz7uh0BUJSFr9kgkgb2vtf3wxiR\neSfzObfPdUn0goqRSk17X3AcSSv4Wa3xgg2XK0f1i/JFm5QHC7SvtIy8b6P5\nrCscAcE0VbH7eyDl36o7Alv76jILOoVi6ERAfH/yAbXnjhgRvdTnt3iAyVxJ\nJpm7pS+Lnm+tVQuivxKUOe9cKZ6XYigruqb+kSUJDK6UDq7Ql9rR4dXAfxV0\n0hAF\r\n=/3SF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoVco1mkwsesUgWQd6hEB5AKRjerQgOrxDEKjnv1mmEwIhANRxONnb6zTynQOS7z1tpkf2jE2gzeGAlM49qE27q5us"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.47_1607943958937_0.9204181869741628"},"_hasShrinkwrap":false},"1.3.5-alpha.48":{"version":"1.3.5-alpha.48","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.48+844bb07","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"844bb075cef3e7a3183ed5ba9caf247adcb79b40","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.48","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-E0n9X3iwqq+Iz7ry39oV8SVvlBb19t5MLD+M1ZOmqe3CU4FHJqLTtU2QWGQF5eMCdDO+3YyWvh9GTX5kl0gB0g==","shasum":"5338367ee26e623f84f689d160f5e149c1714bfd","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.48.tgz","fileCount":34,"unpackedSize":277230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf10jvCRA9TVsSAnZWagAAIwQP/RSm8dO7k1XOLCm/s4Z8\nVWyUcGkJphfGzXBG6u94DifpKHC0Vm8McCxeY+xe2ebnZfQaMzbUMYmwEv9X\nWeeM8smbt+3wEvEQosHvDUiY01IndfzAw3rWokAgdGboPxgS4IFQfHBU732e\n4lmF5uGRNNgi37SDLkvglobiHrvsJN/yVYcqXzZNGx7od9/FW2FsfAEUmPOx\n4wM2U/I1Pl9uXfYDz0A/VhL5h00bzzsKt8fHF0jS9xJLWKhMULWWBJE9Gl9m\nQh+pXP4qIQOsmSicsBxrp9MeozevU1ImtpJLf9p7/WgxKS4no9E5MIGb6L4U\nJCQ0fuqkUlwJGAnkHF0xCzJpm5mw4q7644daVWdbFJqh70vp+lQMyhnWn1yV\nBp9oA4EmKC7tsYZz5mv6ZM+6eZ5Hy0EfIUzLWpAMJ1r/tppV9LCmqmYec3Wk\nxWnGl615WU59FcaByjRqLJtKcbbgU5L1Ewt37OIZcG8wrSFut8Lm7+uJ+dQo\nbDu9/bYmv1gvYDDpURJMXaXC7LI9WL6sLoK6if1IgY0M7q7rSusl37YjK+BO\neN/aBjxrTKDUaWucA/EzvBQpmkkDm8ygCPrxIaJsj+hQ5kKH868YA6i6ttM/\nd0zRPPR5PgjWO8ipVncVdeRPy2JdPp6sqnbXPZDr5D3D4POt/c+ghuCQWCTJ\nf3BI\r\n=sAEL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJtDEpRKCXpv2vRt3ogX1zzaL/LFskOb4+ld5EIvm4cgIgeknqaJbBhLY6qkMxQSFKJ02tGEscAxG3Hu3JmyeWXVg="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.48_1607944430881_0.7386760815605844"},"_hasShrinkwrap":false},"1.3.5-alpha.49":{"version":"1.3.5-alpha.49","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.49+3562ba7","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"3562ba7e5318ffacf6d7c8057e787a10dd71b42f","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.49","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-GKn78Yiqem829mM/qKc4dd4V3L9+e4skGnoqG6YnqIPqVQXMM0mj1WpNFOLu+Wn2iSc6ymo/7MQsLLjcJjQDRw==","shasum":"2b4ac01a7ffbd44c1122d8f2c23a2cdb3551f2ef","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.49.tgz","fileCount":34,"unpackedSize":277230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf10rZCRA9TVsSAnZWagAAgSsQAJ7TTklWca7QW/ZNNrBv\nyNHKuQ9dbYWYzdBUVB8XWfOZSVusZJCRO0q0ACsRogBZFzP/rI+vrj/Ny2JT\nw2md6xLuTSyXG3FwgfFfldZ/iLTJhrHNoPq4SDV644U8suQDMmtdup5F8Eok\neajjQeb36TVM4BpKUcH6ITm3n7r6RL3AK/g6VGf1vO8p+mZhon2v37z/38JU\npD3LavbwuVB2A0wN/ytpURmp5Jue3sPYvZF05lxBBSGcKrj8ePMTfenUHISs\nTIsysKk87kedQ9mFNBwejZxk/82e90dWT+6OhlyjFGJ5/oXMcuCyDVSvx415\n4J3/fqz9oWb0P9Xv8qJq8nQH+j1hX8h598TE03F1BNV9iCmyg/WLxnDOihND\n3jHt6CL3Uyh1Jouzr4Dufi+5C2FKOYhw6H1wXZQD1o+3+uxe6WcT1+A9pLjO\nYG+W3uVZg/zJRaP4rr/Sq8QCpMd5Uvohi036JQTNVLiEnY2otyCP4kqmyi9G\nxHRzL6Z/y8HDB94cyvzpb6j1BBbxAWME2u0HgOmBdSb3Z9yAd+KOWdOmni38\nZBBnaKLsKegMAHxJWMROuromJLxY3qJb4JheCkcqZHkeZZ+IeoY+P1YzC85L\nVwwQbe1bftRwKh77+9I12ZqYDVz8gVhfyAOjCpsYI9raKWwxCUEYaXDtfKG6\n2yNO\r\n=j8xj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGCkcsjRFKWEKcJ73rlxSPchkbjX0zLw7DAEUCrgW40oAiBlLWgKPpDNkgYSnActqEjsMk6ftg3xtGGsGM57PcY4bQ=="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.49_1607944921100_0.7676886519690482"},"_hasShrinkwrap":false},"1.3.5-alpha.52":{"version":"1.3.5-alpha.52","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.52+1b8142c","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"1b8142cca9f3595c48c93df21429a415f10ecac1","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.52","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-ix2aw4Al1/OV9wAm0QCE2shTz9z9dKxdJv2NEZCOu4IPyuf9zOrIE7bcgN/f+xT4vC+a9qxIkzMyU/cn2b+8HA==","shasum":"d7b061b85e6ff082090bbc368d430c9bc2820488","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.52.tgz","fileCount":34,"unpackedSize":277230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1065CRA9TVsSAnZWagAA7EMP/387fY0v5+2aVk/VcDiB\nufdu47IT2808jpZeCifynQkRCcdBN/Hs2mjTo/KnsXTw66TUmmcvlwqyoLRE\nUcSPC0uWOXFKZJ+OBTG5b9hlnkK4Yf2n1iMmnOTtYoj5rcd+gHhy2EE3KkmG\ndlQRYklvwIgsec/9zcdp9VwHbaHsbRWqJEGgDInM079JI5oCleOg76eRYzwO\ncEgyGPU5IE2ir3mtYdeqoP2wls8k3BZlh3ioW/mw8NYtThWI6WtfdC2E9vrG\n2Jw1RKL/KUB1snVhEM1ZVJ1703MXgHTQZKUbX8uyZCBGltMT4SFtAhnOuSJ0\ntSejFjTfjcP+zTsrDQTgqim2eXG0TT+HKjbnQevP/hNDUgRwnqzLNOgsSbf/\nOW+F8cvfKrRlH0JHWDY5xjaxoo81llRHKDqMG7Pu4hl/u6NR78vbThUeXw5S\nDSPTO/tqdkzMd/TLR6t5qjZCLec5txiNaZ5Z+CryfGlfz1xAjnehg0wNjDi+\nKbvonktzgOrUYp/HtLTbCc24dgmukovFkqV1bs6YuIJeveqteeLNEonMAiIk\ndPyTWGXsiWaAAWaH7arDmaWVeCvByQ7XbQuFvtPX5Mp71lo6xl1+7maEVU4o\n8AmlV4z/gsI0lSPAMaFXb6l19OFg52Odfk6X4mxRh+EMF9v5xfuF1zoZhEFV\nCHkc\r\n=+ecx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCao+NyPl5FSfxU4YvWSOyn3dlx+ekrzpFC2AhZUEyDiQIhAOp9imRdEvn0pvkN5bE4qr7ks20VLKL84V6lZNQXqdvq"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.52_1607945913229_0.5022755043492331"},"_hasShrinkwrap":false},"1.3.5-alpha.55":{"version":"1.3.5-alpha.55","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.55+38fbca9","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"38fbca96a69a8ab153c6cbda853b97c179c8ed33","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.55","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-6qf9hI+AJB87Yz3s0XAo3VoVj1Uo1c8o+Oabm82fbroXFzAWbnMGB5TQda0+Ii98MgHxz5b6SBs/h/v7fXbucg==","shasum":"a3aeab2d72e27c213552c8889b71ac5ab9359f7f","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.55.tgz","fileCount":34,"unpackedSize":277230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf11MSCRA9TVsSAnZWagAACpAP/2tVH6M135nrhTuhZOMD\nXEw8CC1Fvzu746Eac/Grs508JranFRYId06MioPEJBlD4tpTa5iWeS/CForI\nQ698iJgdExgdYZXT7AJRkb5CPhAMRxEaqi3wUHaN/TyRHc8dxNMIWRidl/0E\niZDk4Op+BO2NYKd/WmIDXipTUchW72DC90a2WOTS6w0MxIEygJrqMdVC6jEp\nPjviAbyhRxmyFp6GbAFi7NRVqAUoVKERxjd9BEmXRCHoZE70W8QA6NlgXK8c\nZeWCRkO1PVUP1z1ZZ1VLhbrz1vLbQ/7J7W0RM5clr5GGqQcdho9in2rkaPw6\nCg2xuXtgoMNQx9VajYO5r7P/WFJm3VBXOHFnjxOzMGhNBrIOTOepSokaRywr\nViKxPFhJxo7qDvtbHS8WppjKyVy8kqdRNeTgkeZe/cFbljFIO9HQLt+BU2O5\n0tm65Liv4acswJR2OhxdPeVriyIc/+iP05eKs/PWi26ukRaPPDy4kqJfKbV7\nCQcK66qrlQjcLRdVuJJhUWOJ+tPLSfYoqEkS17kY20SGDI1mEE3gw34IFGaA\nZvsRqZv2PFZoJMWBGWqPmEPc5uP3VswZT1qm2QTI+LKTp/DUHkEiJIZlXU8X\nlcx6nC0B230SUG5u8XjQthcwTtY0Ws+Xb09ete+eTclnJix5SF18VB/ZJCqH\nvo9g\r\n=BGQ4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHkbsFdFRp/9or2O7uR4VtdSygbZ94HdLkoj0M3elkKAiEArgdK3qFitiC2u4vl2JCjncsDEZERhwwIP4Q2/UbieaU="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.55_1607947026201_0.09581139094336688"},"_hasShrinkwrap":false},"1.3.5-alpha.56":{"version":"1.3.5-alpha.56","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.3.5-alpha.56+d006dda","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"d006ddab67df6bc1bd5971bf7c9bdd2704ccc8fb","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.3.5-alpha.56","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-AMDWwJ9r1YNmVlXiduzcl9h0YLbyAv7XEejuRqc/QANs84xwgy0seT0Q3rcUzyr5Xkki/6XAcunpmLIp+tdv9A==","shasum":"e0114467b4c499f5bb32ac08073402f5635f0884","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.3.5-alpha.56.tgz","fileCount":34,"unpackedSize":277230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf11OCCRA9TVsSAnZWagAAahcP/2O63MGfPi9N1ZYCTauW\n10rE8uAT4j/ykKuNT6W1+jiPfd7zvv1EOIavbF0u4TNHGHHXsWihnxrYYDwP\njBQ8/KoO+mBkCmgw4+cGvv6DCvt6Jx+GVf3LBXcjZGa0IesKTYOtW4xUoBqm\nm541L/3EI8imYAXD3BKfQeZY4ldjlEptAuQfPWTv8D7ppUZeQ4YkWrVFDCir\n8c9w2MH195JRhrRpXUs2c7iL3tZ6RlvDph2mqQQvFFrjsYlnMPiAJlkNugsX\nDpFYqPSIo70H8ZeFSZRI0sTVN4fgJs0pI9ZikKhIR6Ul3bcZnp0HYZNqL7ZM\nG0WUEhlVHCJfOxq84Q5n60mex+f58UtS5Csp9HMNH+YDJAZ6ASvd1peRu9df\nW4oJ7qEqy4uRGCMcSjN0PoAJ9ppVvDDKYotP7CPlZ/ALjrQ5uABNu8CNXOym\n2X9Ly8iF3W2gVV+D4BNs0BYGe/eUe6+DCrOgq09DjA2ieY8PBnerd1WozApR\nuj5fiYfFR0JW4J6XO8JivNhRk506rE69g3XLe1s0KvuEnLr9zip6Dc88Lc4s\nFo6/5KWqPxHGTg/n/ttCPyJyDKhtKJBiqTzB7Pk8QZ8g7WUEQ6UDNit744RF\n4YGtjLH28IckcHd8ZiMj/WfH+OSr233ihnJncsVe+Dyu23CMzYUmoCUEXdzc\nJsWM\r\n=akAO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGq9oPdcf5tOfc/VcRWIvbdg2Q/Ye9gkdW56caCxNNCkAiBlU+GNnVVmcdfFa9euYrqsopbNDnljmpy/7iKd5zY+HA=="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.3.5-alpha.56_1607947137879_0.9939623260400643"},"_hasShrinkwrap":false},"1.4.1":{"version":"1.4.1","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.4.1","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"9838768fb6b7b08334145246fca111fee235cf16","_id":"swr-graph-state@1.4.1","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-Y4S550WL7ztgQqyK/sph9UDY5ewNWYIspvdHTdgb5OfyeuSm7dPoKzD5GjoUJo1ra9vaBEovRwZC5+KMpYmjoA==","shasum":"f735b59ece57e6c973512bb86b1da7f1aaf82aa0","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.4.1.tgz","fileCount":34,"unpackedSize":277196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf15QGCRA9TVsSAnZWagAAou4P/0Ilu6r5nw3mep8y+YR9\n/MWR8dWibLDVceI9u2y2CPzv3NO/tOHNl+DsKPsY+RuKYKn0iw1CE8IfauAO\nkcHsJ1DeeiRCV+xgDlJE1ACWxQ1uDtiCAtZVHJIXQkRCHPuiasEhifmHt/5W\nC+V8V4rdHZcex27DDDajhIoySD85ebBVJkJHbhXrUnSluif/VYefJZAl/Wvc\nebm2cgEDBFIL6jiBm/S4j41uC4cbLeh4NpbCuUnmGY/2/bRZBbxP08awHtSy\nieMzWGrdKBYKVaLhv80SdpTA0HzFNl9EFogDh2PGoLy9MbUnGviuhZUoobFb\nNZuKIO+oVf7cy6DcYmaNyb47Kh8c2kWp77oVQmLTueYghNXtRLmIKuiOQZJq\nfWaC27VU0sJqAO5PbcEzb7WNI2fJSLKSYhrWcZrEjMjPqg0rnPkmcQVObyrP\nXjAKGY3V8kaYaqeheXKzmC5PZLTw/4N8VYABT3tnDPIHB1bbNmcBlBXAm3Vj\nAjs57JhmZKpcGJIr2D9D/Sgay/QtE/ukgWSSd3Gk0+owBvCy1Pr/2HmUFgU/\nh8IgrXLbe+dclgNha39ak6l67QeLrfEC1v2vFlGbX8g288kWbNES6Ujy8llm\nHcSlcC2QRy9ZOZajGbOz2I34cCi9f/NQyhghW8ug59nMxyh1RhTM/+5OpEKs\nzFuD\r\n=Q7Qk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBAefDNCoDznk9XUXp3m1oFUTS2upSuZe2/OTcjCUa6QIgX+i7IhTB2q1QykCDNAEY5l/Ysuvp+zS6RaVMq4QZu8I="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.4.1_1607963654389_0.16222871480449785"},"_hasShrinkwrap":false},"1.4.2-alpha.7":{"version":"1.4.2-alpha.7","main":"dist/index.js","exports":{"import":"./dist/swr-graph-state.esm.js","require":"./dist/index.js"},"types":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","module":"dist/swr-graph-state.esm.js","devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.7","eslint":"^7.13.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.4.2-alpha.7+ef40411","pridepack":"^0.5.0","ts-jest":"^26.4.4","tslib":"^2.0.3","typescript":"^4.1.2"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"ef404112b718f0354f86adec4c8dde627cab3a18","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### 🚧 UNDER CONSTRUCTION 🚧\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)","readmeFilename":"README.md","_id":"swr-graph-state@1.4.2-alpha.7","_nodeVersion":"15.2.1","_npmVersion":"lerna/3.22.1/node@v15.2.1+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-UclynbANRFZfWI9qbpQixhE7d7StVtO5gXhP+iLFWT/lWySkibOg//iPgRGtwO1pOpJhd8ce25d/KY75awfetA==","shasum":"4d1d886b6f67d053f42685ff6b14be64fd11315c","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.4.2-alpha.7.tgz","fileCount":34,"unpackedSize":277228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3z2DCRA9TVsSAnZWagAAG8wQAJxRNmm721nEnMRujJGZ\nEhdiiP7vlSX9wZOBhdsKFiwq7VIFZ7hY7ooabSATynTmn/6JeOgPgf/gmIeM\njtPEN7iSROi8g7UTqN+hUNHsnsv3uvINbZuvlAybSZdbL8NkiDSRWVRpvSli\n1n453H8bLjgJAEHR5QyM9NbxVaxPeeDp75m/ZDw3HxUCQYSPkMZVe+S4RHNz\nd3czaBpnhTN3lptPgo6u9xnwH1ut6uiw1X2hnOIkK2C5AJxCy7ICRLUUqvaW\nGnDCMheGO6QmoNQp2+OeCkFKPA/uQSe+l85S3GZ3UBJI1AbCESPdsKLRSAXO\nDOcPbgbtXNovPJ3VwrnHE1yIrEwD/2jfv55hoJIp30eZiEYhJ6VPrKkKc5O8\n0+1Pl6GxpAGhIv9V1ROCZwfeJlnLXnXK0e5jZkH16cWb381ZuIgEqtqZF8rc\njo6TKs26Y09ypgx1GtU9OJuMi1Q2xcHzEXMSsaKZ+599MOSF336sg1k5255r\n80oVbLxcgJn8g5rRVHc5gwkA1dXjBPWoDSr685RVt2RTfpRfE/1RdybFywj/\npUQZuKHk+0pOSz2Rsk8cwHkLSv7b40kDJRKzWgRmJ9jZe05+D6oaI5yULx+r\nq8/Tev0fdHyyo1I7icIPe83PokZ2MUQ0+a/zzvNCItlh5aU2qqiIN1OlrRSk\nWMXq\r\n=iNtu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdu8HbVGEQ7jcfX7CP/lR5EIgLSCA+cYFoS7sLLMjLSwIgF+5KRV/zvmJe/Q8dkPkmsQJtyDLHqb1I1bj8TPTW3zU="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.4.2-alpha.7_1608465794631_0.5442648485114399"},"_hasShrinkwrap":false},"1.5.0":{"version":"1.5.0","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.20","@types/node":"^14.14.34","eslint":"^7.22.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.5.0","pridepack":"^0.8.0","ts-jest":"^26.5.3","tslib":"^2.1.0","typescript":"^4.2.3"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"8cce82394a9383be900f26be519567ed1da5aee4","_id":"swr-graph-state@1.5.0","_nodeVersion":"15.4.0","_npmVersion":"lerna/3.22.1/node@v15.4.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-yud4JyVvrWzn1xH8aq5ci1MqT60auCW5rJK8uVn4DxAs9+vv09WaTMaXEQmNrAPxj7ZJA8DRhsxgaaCfRX/T3w==","shasum":"5843c3847963edc4178bdf00762a45f5fec3e88f","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.5.0.tgz","fileCount":34,"unpackedSize":223511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVd73CRA9TVsSAnZWagAARaUP+wQ2Fh/FLZl3d0F2+1Zb\nxtSDETS0DtaMHloXxmLIja+nbg5vtXFQyYdH78VGc6N6kXeBqhFjiNWUq0k4\nEHyutjfWWCeLIChwfJd3SY60xuwprXv7ahiIAkFbbq1gjrCdylOo2JEJz6VQ\noIGVp2LT/poqASSGppXoqgNmS98OyTRyWCNIGChs56vBlB48XIq/is4FCpew\nSLU0cHrvoF8Xgz9TiCociunDDHApNagEUzKUE8H6GzMN0TD/6Tw75nj8/yNs\nqmw3rLaM+gF88YH3GpLa98Zp1GFzrUc9craIf7K92cd1xk+O038N+vSsipR7\nRrhZsznxo4wWE9nrzcDnqfej0p/x3ExvBZSGjQb2tF+HqJducPer3S9dt8gJ\nvSmRBK5ZkhownCeHfjKp46rDxlY5b4lepu/ki64s8MH5r5BsJu5zyV6P+ErM\nZuRp3FcDzXZTHBuDCBPdXIWL7NYHf4HzDpd3IbIILLVEWj/ZdvtaTPSMhol5\n9+Dd8TnX4Bfa8JUuP6cOaASFLpMqKxVvN37mTcvvdf0ge4ygL+g4S//vq111\ny97NuHzVAVL1vA4NSlryajuGEOffwzL/4W9zqQmgLdcYLfbTfW1Tlobg7WOp\nPYwvUtIRk2pKf95rMG89QkOv+Uwyoyt9oK/x51rZm2R/nsdwip9VSwjZcN1Y\npCPy\r\n=TMM0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFUcGt3jcNzskbMGRj1zDeNQkWVi32yjX1JfAnCThC8gIhAOQ6Qt6lbbwsyHkKxCdNtoRh2ErepRKMnXalkr59DDLK"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.5.0_1616240374735_0.5043288241669415"},"_hasShrinkwrap":false},"1.5.3-alpha.3":{"version":"1.5.3-alpha.3","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.20","@types/node":"^14.14.34","eslint":"^7.22.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.5.3-alpha.3+ad77419","pridepack":"^0.8.0","ts-jest":"^26.5.3","tslib":"^2.1.0","typescript":"^4.2.3"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"ad77419298df1bea1d76c9ce9824de5e3a2d259b","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### Hydration\n\nSWR node may present an initial data through `options.initialData`. This data is used only when the store finds an empty cache value. Initial data is also useful for opting-out of initial pending phase and providing a way for SSR pages to hydrate nodes.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n  initialData: prefetchedData,\n});\n```\n\nSWR nodes can also be hydrated manually through `hydrate`.\n\n```ts\nimport { hydrate } from 'swr-graph-node';\n\n// Node hydration\nuserDetails.hydrate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n\n// Global hydration\nhydrate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Subscriptions\n\nSWR nodes allows subscriptions to subscribe for cache updates. Subscribing returns a callback that allows unsubscribing to the cache updates.\n\n```ts\n// Local subscription\nconst unsubscribe = userDetails.subscribe((result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n\n// global subscription\nimport { subscribe } from 'swr-graph-state';\n\nconst unsubscribe = subscribe('/user/details', (result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n```\n\n### Manual Revalidation\n\nSWR nodes have the methods `mutate` and `trigger` which allows manual revalidation of cached data. `mutate` overwrites the cached data while `trigger` prompts for a revalidation.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\nuserDetails.trigger();\n\nuserDetails.mutate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Global Revalidation\n\nSWR nodes share the same global cache, and can be prompted with a global manual revalidation. `trigger` and `mutate` are similar to node's `node.trigger` and `node.mutate` except that they accept the cache key first.\n\nStores subscribers may be notified (`trigger` does not guarantee a notification, while `mutate` guarantees a notification) for the cache update.\n\n```ts\nimport { trigger, mutate } from 'swr-graph-state';\n\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\n// ...\n// Global trigger\ntrigger('/user/details');\n\n// Or mutate\nmutate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Local Revalidation\n\nSWR nodes can be manually revalidated by calling `node.trigger` or `node.mutate`.\n\n- `node.trigger(shouldRevalidate = true)`: Triggers a revalidation from the given arguments. Arguments are passed to `options.key` to locate the cache.\n- `node.mutate(result, shouldRevalidate = true)`: Mutates the cache with `result`. Cache is located based on the key generated from the arguments passed to `options.key`.\n\n```ts\n// Local revalidation\nuserDetails.trigger([userId]);\n\n// is the same as \ntrigger(`/user/${userId}`);\n\n// Since userDetails yields the same key format.\n```\n\n### Auto Revalidation\n\nSWR nodes are able to automatically revalidate data based on DOM events. This feature can be activated based on the following options:\n\n- `options.revalidateOnFocus`: Automatically revalidates data when the window `'focus'` event is triggered. Defaults to `false`.\n- `options.revalidateOnVisibility`: Automatically revalidates data when the document `'visibilitychange'` event is triggered, specifically, if the page is `'visible'`. Defaults to `false`.\n- `options.revalidateOnNetwork`: Automatically revalidates data when the window `'online'` event is triggered. Defaults to `false`.\n\n### Polling Revalidation\n\nSWR nodes are able to poll for revalidation. They are different to event-based revalidation as polling revalidation happens in intervals.\n\nThis behavior can be activated through the following options:\n\n- `options.refreshInterval`: Amount of time (in milliseconds) the revalidation goes through in intervals. Defaults to `undefined` (Does not poll). Polling begins immediately after the lazy setup has been triggered.\n\nThe default behavior can be overriden by the following options:\n\n- `options.refreshWhenHidden`: Overrides the default polling behavior and only begins polling after the page becomes hidden (triggered by document `visibilitychange` event.). Once the document becomes visible, polling halts.\n- `options.refreshWhenBlurred`: Overrides the default polling behavior and only begins polling after the page loses focus (triggered by window `blur` and `focus` events). Once the page is focused again, polling halts.\n- `options.refreshWhenOffline`: Overrides the default polling behavior and only begins polling after the page becomes offline (triggered by window `offline` and `online` events). Once the page is focused again, polling halts.\n\n### Lazy Setup\n\nSWR nodes are lazily setup: polling and automatic revalidation only begins when there are subscribers to the nodes. Once a store receives a subscriber (through `store.subscribe` method), the store lazily sets up the revalidation processes, this way, automatic processes are conserved and are only added when needed.\n\nStores also halt from automatic revalidation if they lose all subscribers through reference-counting.\n\n### Cache Age\n\nSWR nodes can define how 'fresh' or 'stale' the cache is, which can alter the revalidation behavior:\n\n- If the cache is 'fresh', revalidation phases skips the fetching stage.\n- If the cache is 'stale', revalidation phases goes through, but the result does not return to `'pending'` state.\n\nThese behavior can be defined through the following options:\n\n- `options.freshAge`: Defines how long the cache stays 'fresh', in milliseconds. Defaults to `2000`. (2 seconds).\n- `options.staleAge`: Defines how long the cache stays 'stale' after becoming 'fresh', in milliseconds. Defaults to `30000` (30 seconds).\n\nA cache is 'fresh' when the time between the cache was updated and was read is between the `options.freshAge` value, otherwise, the cache automatically becomes 'stale'.\nA cache that has been 'stale' will continue being 'stale' until the time between the cache became 'stale' and was read is between the `options.staleAge`.\n\nCache invalidation always happen lazily: checking for cache age only happens when the revalidation process is requested upon (usually automatically through polling or revalidation on events) or manually (`mutate` or `trigger`).\n\n### Deduplication\n\nSWR Stores throttles data fetching processes through the caching strategy. Cache maintain a timestamp internally, marking valid requests and cache references, establishing race conditions.\n\n### CSR-Only Revalidation and Fetching\n\nSWR nodes' cache revalidation and data-fetching only happens on client-side.\n\n### Success Bailouts\n\nSWR nodes, by default, deeply compare success data in between cache updates. This behavior prevents re-notifying subscribers when the contents of the data remains the same. This behavior can be overriden by providing a compare function in `options.compare`.\n\n`mutate` accepts an custom compare function to override this behavior as a fourth parameter.\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)\n","readmeFilename":"README.md","_id":"swr-graph-state@1.5.3-alpha.3","_nodeVersion":"15.4.0","_npmVersion":"lerna/3.22.1/node@v15.4.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-58ju4liCyVhuMU/dm9wzZ3aqq7DneWgrhgKZxauteq84Bwd5Xhgxol9HAEL3y0tzd9bGoNTBFg/Slrdw+MgSKg==","shasum":"34f3b8bfefc74fb1755ae6c99997e829be9df56c","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.5.3-alpha.3.tgz","fileCount":34,"unpackedSize":223543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWao/CRA9TVsSAnZWagAA4gkP+gNuBs+Jty+/b+dbwkw6\nO7QY71LMmQjAnfx82h1e8UScHDq9+jPPlwQ9Z2UZSADCGLwsjLcq337qaS2U\nx2ba//9xGETr1j4wDragO4xjo+rxuOCgMy2CsMp5LiN5CmYfdW8/imyN69PN\nWFEs3d3NuKMGlUOB8HbwLtUQWqBFimlqUqF9aeTGu+1QZu6RBoJ8bCQVe57b\nnzmQ5+P6iA5kfBAqv4Z/cAqI7Uu3s6Tlj+g6RCncV2bsUgziXA8Xf+rzuMve\nKXaaPaIbi+pxqBTRd4zTPA4L2xvslOgZy2MQMxUNdwJMbnUWX6x3uigQzyUn\ntExAQviRrSny+x9w3fBfKnJI8deY3RRAb0Y9nIayBv8455WAOJqpPC341Cpk\nh6/hGfRRNbG1zyscggiF73coZZsc1KcoqRaYCmM8FIPuLpxU7FGC6/HLUSH1\nOAY9YZrO1Y5zlIdKPpvvuQFtEP9a5DF8LIo+6vO7uLFxRqhzk0xHimDdDhc6\nl7tksikF9aAd9lMr01xNfjBn5fK9x2y29v6YSCP2nSEj60lJ3QP484vluWLD\n2i4iKR0QQO1H9h6YxDWKUrzAVnN/SYSr0u4HUxZUmrToqWOaovUwuioQXLkE\nfHFo4CVhnybuxW2NYXhL94c9ojvGpueVL32c+69/Px1IU2zyCzxqHk4voy65\nDib1\r\n=cMC+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbo+Dc0del12Z+1nCCdZXeEYupxyBTEV5bVd8hK7/cgAIhAMra6jqbHqLOHOhLlw4L2QG+NJFOqbGmrAlz7Xh1jTwI"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.5.3-alpha.3_1616489022984_0.18093021142751464"},"_hasShrinkwrap":false},"1.5.3-alpha.4":{"version":"1.5.3-alpha.4","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.20","@types/node":"^14.14.34","eslint":"^7.22.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.5.3-alpha.4+cfe37ca","pridepack":"^0.8.0","ts-jest":"^26.5.3","tslib":"^2.1.0","typescript":"^4.2.3"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"cfe37ca1aaa5e17d95dd032b6f5e7bcd8b49adcc","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### Hydration\n\nSWR node may present an initial data through `options.initialData`. This data is used only when the store finds an empty cache value. Initial data is also useful for opting-out of initial pending phase and providing a way for SSR pages to hydrate nodes.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n  initialData: prefetchedData,\n});\n```\n\nSWR nodes can also be hydrated manually through `hydrate`.\n\n```ts\nimport { hydrate } from 'swr-graph-node';\n\n// Node hydration\nuserDetails.hydrate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n\n// Global hydration\nhydrate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Subscriptions\n\nSWR nodes allows subscriptions to subscribe for cache updates. Subscribing returns a callback that allows unsubscribing to the cache updates.\n\n```ts\n// Local subscription\nconst unsubscribe = userDetails.subscribe((result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n\n// global subscription\nimport { subscribe } from 'swr-graph-state';\n\nconst unsubscribe = subscribe('/user/details', (result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n```\n\n### Manual Revalidation\n\nSWR nodes have the methods `mutate` and `trigger` which allows manual revalidation of cached data. `mutate` overwrites the cached data while `trigger` prompts for a revalidation.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\nuserDetails.trigger();\n\nuserDetails.mutate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Global Revalidation\n\nSWR nodes share the same global cache, and can be prompted with a global manual revalidation. `trigger` and `mutate` are similar to node's `node.trigger` and `node.mutate` except that they accept the cache key first.\n\nStores subscribers may be notified (`trigger` does not guarantee a notification, while `mutate` guarantees a notification) for the cache update.\n\n```ts\nimport { trigger, mutate } from 'swr-graph-state';\n\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\n// ...\n// Global trigger\ntrigger('/user/details');\n\n// Or mutate\nmutate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Local Revalidation\n\nSWR nodes can be manually revalidated by calling `node.trigger` or `node.mutate`.\n\n- `node.trigger(shouldRevalidate = true)`: Triggers a revalidation from the given arguments. Arguments are passed to `options.key` to locate the cache.\n- `node.mutate(result, shouldRevalidate = true)`: Mutates the cache with `result`. Cache is located based on the key generated from the arguments passed to `options.key`.\n\n```ts\n// Local revalidation\nuserDetails.trigger([userId]);\n\n// is the same as \ntrigger(`/user/${userId}`);\n\n// Since userDetails yields the same key format.\n```\n\n### Auto Revalidation\n\nSWR nodes are able to automatically revalidate data based on DOM events. This feature can be activated based on the following options:\n\n- `options.revalidateOnFocus`: Automatically revalidates data when the window `'focus'` event is triggered. Defaults to `false`.\n- `options.revalidateOnVisibility`: Automatically revalidates data when the document `'visibilitychange'` event is triggered, specifically, if the page is `'visible'`. Defaults to `false`.\n- `options.revalidateOnNetwork`: Automatically revalidates data when the window `'online'` event is triggered. Defaults to `false`.\n\n### Polling Revalidation\n\nSWR nodes are able to poll for revalidation. They are different to event-based revalidation as polling revalidation happens in intervals.\n\nThis behavior can be activated through the following options:\n\n- `options.refreshInterval`: Amount of time (in milliseconds) the revalidation goes through in intervals. Defaults to `undefined` (Does not poll). Polling begins immediately after the lazy setup has been triggered.\n\nThe default behavior can be overriden by the following options:\n\n- `options.refreshWhenHidden`: Overrides the default polling behavior and only begins polling after the page becomes hidden (triggered by document `visibilitychange` event.). Once the document becomes visible, polling halts.\n- `options.refreshWhenBlurred`: Overrides the default polling behavior and only begins polling after the page loses focus (triggered by window `blur` and `focus` events). Once the page is focused again, polling halts.\n- `options.refreshWhenOffline`: Overrides the default polling behavior and only begins polling after the page becomes offline (triggered by window `offline` and `online` events). Once the page is focused again, polling halts.\n\n### Lazy Setup\n\nSWR nodes are lazily setup: polling and automatic revalidation only begins when there are subscribers to the nodes. Once a store receives a subscriber (through `store.subscribe` method), the store lazily sets up the revalidation processes, this way, automatic processes are conserved and are only added when needed.\n\nStores also halt from automatic revalidation if they lose all subscribers through reference-counting.\n\n### Cache Age\n\nSWR nodes can define how 'fresh' or 'stale' the cache is, which can alter the revalidation behavior:\n\n- If the cache is 'fresh', revalidation phases skips the fetching stage.\n- If the cache is 'stale', revalidation phases goes through, but the result does not return to `'pending'` state.\n\nThese behavior can be defined through the following options:\n\n- `options.freshAge`: Defines how long the cache stays 'fresh', in milliseconds. Defaults to `2000`. (2 seconds).\n- `options.staleAge`: Defines how long the cache stays 'stale' after becoming 'fresh', in milliseconds. Defaults to `30000` (30 seconds).\n\nA cache is 'fresh' when the time between the cache was updated and was read is between the `options.freshAge` value, otherwise, the cache automatically becomes 'stale'.\nA cache that has been 'stale' will continue being 'stale' until the time between the cache became 'stale' and was read is between the `options.staleAge`.\n\nCache invalidation always happen lazily: checking for cache age only happens when the revalidation process is requested upon (usually automatically through polling or revalidation on events) or manually (`mutate` or `trigger`).\n\n### Deduplication\n\nSWR Stores throttles data fetching processes through the caching strategy. Cache maintain a timestamp internally, marking valid requests and cache references, establishing race conditions.\n\n### CSR-Only Revalidation and Fetching\n\nSWR nodes' cache revalidation and data-fetching only happens on client-side.\n\n### Success Bailouts\n\nSWR nodes, by default, deeply compare success data in between cache updates. This behavior prevents re-notifying subscribers when the contents of the data remains the same. This behavior can be overriden by providing a compare function in `options.compare`.\n\n`mutate` accepts an custom compare function to override this behavior as a fourth parameter.\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)\n","readmeFilename":"README.md","_id":"swr-graph-state@1.5.3-alpha.4","_nodeVersion":"15.4.0","_npmVersion":"lerna/3.22.1/node@v15.4.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-g3i6mA9uUtKyhzpscZE0R+8LUqaguW7Tz6YCOlKjHrJGEE+Z2r+DYT5oUyOAX1d7VmhGJSMHkALOE0Hg8JG9Dw==","shasum":"89657c91ec0ac6eb80c84f66e5a2945c27ef5a58","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.5.3-alpha.4.tgz","fileCount":34,"unpackedSize":223543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWa8aCRA9TVsSAnZWagAAokwP/1DgtPx+PE+XrcRcgEES\nAhqSlGx4Z5r1rSFaz3iGUaLOx8Q+yFTYKbcpCqWp6WhRtnof3GRLtUgrlJGk\njteG6np4uEk+aBCM9q9riF1ddtR0RgM1BXsYUhumstxDd2Y/LKulpdzerR68\n2cGsiegKovPp+0sDYXhSuwshenhJH91EO3oFU0VbT1QlYJR5O9nlUb72p1Za\nq10eDQ8LioRLf7Pj9zAc9FBPhtW5rVNt/llFlnnE1XdGWmbT6oIfqTqA08Bd\n/LQo/g9PuoP5xHFTw+h1NvllU/O5zEPpT7MkoKsOXAlYptXh1UIbNS/gJ3j7\ns9e1X68mABIPwjZL4NvIoLbkpA1+Ct34xq01zwppgxZIN/dZLnxH3uWCOI4X\nXVivX1qF4bgOMrLVpMLSs1cje1SN49f4/f8JPURC75lTcG/asAHjEOJRP+xL\nWxMnwZvJDPa3jqhuNNB4fWzx64949dX0LJXHpYmM1UX7BTWQ95e7w2MqTnyi\nhHLpxFQ6q5/30MCWJSQPEak5/1mrKsvygTKGCjlF4zh4JsRUtRxC6ImYtr7a\nn3WyiIEE45LELUbYm3ldeu7g7suNkDEnVFCgbJSDHdjcw2OKVG7lL+Wm+Yav\npjXINjTVV3aX/GrABi5scx5zAoeLh7ywtgYFTiHIcOnc2EDSeCrVCI2+I5bM\nobPd\r\n=rYi3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC38HTF9sxT3FOeGIq1MD8XnFZjdNyzcMnT2kvp+Cf51AIgEzHdVQMUrrWsOMg0LcdXMLdT67D0SWxN0e+3pl9Wfo4="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.5.3-alpha.4_1616490265826_0.39632532824460487"},"_hasShrinkwrap":false},"1.6.0":{"version":"1.6.0","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.20","@types/node":"^14.14.34","eslint":"^7.22.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.6.0","pridepack":"^0.8.0","ts-jest":"^26.5.3","tslib":"^2.1.0","typescript":"^4.2.3"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"70bf200cae88ff745c7ebaaace96cc9fbbd922e6","_id":"swr-graph-state@1.6.0","_nodeVersion":"15.4.0","_npmVersion":"lerna/3.22.1/node@v15.4.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-Fd2STlDwe94F+9pkIvsI6E3VoZmAZgPOCyzmrDV2cnTB8x4ESuqO4sAjFqCLgJh26uZQ+0+U4K04ezSaJHMeUQ==","shasum":"158580539885ec142fa6374633f0bc4b7f521f2f","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.6.0.tgz","fileCount":34,"unpackedSize":223511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaIfNCRA9TVsSAnZWagAA4w4P/RhpVL0NWx8VvgTA9td/\nOr90AYpM39R7uz5f4zSchFbdEHf3F72RO8LaMYSbt9TQdwYtaX242U4M3PAl\nBBcC1EUiosRIsNHEM8jRKSJIgW7OLGFZXY2cQlx0bMqjVUKoPIqNmsm03Urh\n7thi+mc1x3YN1Yi54LXybSR/b2bP3M4KRsV5nM9U5bT7/guOd/lRfo634NeA\nZF/7at8UGFnwnCrQXPkYUj1MxWceO1kkXv7IPphfyLkiOskeDIyMYscxUya3\nnOgUG/mjEjMwmpyFvOyIas1ig3hvObg41ggzr+y6HP3mLpGXFz1ogZDySE6p\nS8xvpB4TYe6gZKvv+xIpHcncNoLnaubz9u+2cpBBBSb1WKxyTPU8DvJ/zLNu\n268FNy6Za5VxBgcOb7uanqQFoHXJQnFRN6SSPMZPGYdMDw204soMzoaz+Q/8\nxgphKGiRp1Pjbln2uuE9KDB85vLk5Wc/9tKxqMiaVUPkwLjCP6vcuPyODlty\nHyQ6HYBaBgPJApc0gLg+oK633hYxZVIj9fQqOwzAmNE0uQc8Qtdmw9Z3v7qJ\neBBe9DZHNf192iHUmbNmY14GUUcIRK4qlxWuN3BfP5/HBunj+hslsnbkaXB7\nGvQ1VQrgZTEzuM1ztoYvcv2xi7UOcGMkfZ5TCaBlLlXeJFIqJXyP08ymAdf+\nN5z/\r\n=aIKQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8sMB/3PpC8bn8xRwobGOatukFOmWgoR2BdKqYGYHUBgIhAPpPmN1nAlE8MsRi/OBxRJL6HkW6MeMH3/s+jb7xbHWN"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.6.0_1617463245133_0.8316416191563683"},"_hasShrinkwrap":false},"1.6.1":{"version":"1.6.1","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.20","@types/node":"^14.14.34","eslint":"^7.22.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.6.1","pridepack":"^0.8.0","ts-jest":"^26.5.3","tslib":"^2.1.0","typescript":"^4.2.3"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"ed30ee63d826dd53ecbaf27dd5ee97c6c2d37f6b","_id":"swr-graph-state@1.6.1","_nodeVersion":"15.4.0","_npmVersion":"lerna/3.22.1/node@v15.4.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-ee1X1od9mrzugDLlwzechwLq13w6nQD7gIu/EJIxAu7B3ssW97zRaozxH7UWv4dsB9zZyyCb0FbQeCs5eU0EbQ==","shasum":"b5bba2f15bbe4df4fc18adeaa5c8537e8c2a7575","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.6.1.tgz","fileCount":34,"unpackedSize":223511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaItfCRA9TVsSAnZWagAAYzEP/1opuBYdIK0K4tZlsCxL\ngrWDFZ5mDh1D7a9GlZpUXSWliz52Bdyh+sZXj9LZiZ1B7qlPbLJInMa/TROf\nqLvxaCt5hTMXCWjUJhLvxczTwqWt9lVT+Wp4IqN+ygGBwOwaD+yQG3KpPIL1\nIJeApYYXTA8MEAXu8+WT6f2HYsi11z2NigCEfa/IDdMknwq/MkcepX0yaRaF\nDPDbnZi7mZgcMnVL7ZMb4zn6rOJtkBHMd3yMwKjAUZsvAZyZ3m3JuxbpdW9p\nvKc9bbOZGc+brU5HlPj8EhhmpC66jx0R1ToyVnKbXjRCpZOLw16+zC8ic6pZ\nJmddVyusmxy97yepik3ijW8QJpwEadaSmNTeqkrGQ2LG2ELs1TgbkMIrIzWg\nrGG3+OvdiLtRV/yUAcvOreSZ/anBzQ6r1vpxBlPEKb8dU8U8i+R01cRPeLux\nmogDFvYd2Jy2nm8lpVeDY3t0HrJ17ffFLNzsqwUWeL+ISVQVkaP11dCMqFay\nlsKRM1oJVZT4qmxNfb/VCB6od5fRHvOxg83n0Qezt2+4S4qOaOVhPY9ZyC4b\nKND6M2vhkeBSFnlYewj+MTt70bYODSM9cFkpo8b/o38otwJs2THyeEgR6/CU\nm8n4Cky3zjJEnCkrGNWQsViyhwJWmr48UuFd+UBsZ9NwusLm1BV5RjQWFSbU\nFZlc\r\n=t+sq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYPEE7dgVHBwcaELx4tQjyhdIr/hPmnMmtb0Xv03lJrwIgcTQk2RaV2ULi3YINcLGmKmFTTNS6BW+rDYQzyVuo1x0="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.6.1_1617464159067_0.22465279142937233"},"_hasShrinkwrap":false},"1.6.2-alpha.5":{"version":"1.6.2-alpha.5","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.20","@types/node":"^14.14.34","eslint":"^7.22.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.6.2-alpha.5+9fef045","pridepack":"^0.8.0","ts-jest":"^26.5.3","tslib":"^2.1.0","typescript":"^4.2.3"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"9fef0454fa006fda4f7ed623fe42831e8f44c4da","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### Hydration\n\nSWR node may present an initial data through `options.initialData`. This data is used only when the store finds an empty cache value. Initial data is also useful for opting-out of initial pending phase and providing a way for SSR pages to hydrate nodes.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n  initialData: prefetchedData,\n});\n```\n\nSWR nodes can also be hydrated manually through `hydrate`.\n\n```ts\nimport { hydrate } from 'swr-graph-node';\n\n// Node hydration\nuserDetails.hydrate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n\n// Global hydration\nhydrate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Subscriptions\n\nSWR nodes allows subscriptions to subscribe for cache updates. Subscribing returns a callback that allows unsubscribing to the cache updates.\n\n```ts\n// Local subscription\nconst unsubscribe = userDetails.subscribe((result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n\n// global subscription\nimport { subscribe } from 'swr-graph-state';\n\nconst unsubscribe = subscribe('/user/details', (result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n```\n\n### Manual Revalidation\n\nSWR nodes have the methods `mutate` and `trigger` which allows manual revalidation of cached data. `mutate` overwrites the cached data while `trigger` prompts for a revalidation.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\nuserDetails.trigger();\n\nuserDetails.mutate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Global Revalidation\n\nSWR nodes share the same global cache, and can be prompted with a global manual revalidation. `trigger` and `mutate` are similar to node's `node.trigger` and `node.mutate` except that they accept the cache key first.\n\nStores subscribers may be notified (`trigger` does not guarantee a notification, while `mutate` guarantees a notification) for the cache update.\n\n```ts\nimport { trigger, mutate } from 'swr-graph-state';\n\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\n// ...\n// Global trigger\ntrigger('/user/details');\n\n// Or mutate\nmutate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Local Revalidation\n\nSWR nodes can be manually revalidated by calling `node.trigger` or `node.mutate`.\n\n- `node.trigger(shouldRevalidate = true)`: Triggers a revalidation from the given arguments. Arguments are passed to `options.key` to locate the cache.\n- `node.mutate(result, shouldRevalidate = true)`: Mutates the cache with `result`. Cache is located based on the key generated from the arguments passed to `options.key`.\n\n```ts\n// Local revalidation\nuserDetails.trigger([userId]);\n\n// is the same as \ntrigger(`/user/${userId}`);\n\n// Since userDetails yields the same key format.\n```\n\n### Auto Revalidation\n\nSWR nodes are able to automatically revalidate data based on DOM events. This feature can be activated based on the following options:\n\n- `options.revalidateOnFocus`: Automatically revalidates data when the window `'focus'` event is triggered. Defaults to `false`.\n- `options.revalidateOnVisibility`: Automatically revalidates data when the document `'visibilitychange'` event is triggered, specifically, if the page is `'visible'`. Defaults to `false`.\n- `options.revalidateOnNetwork`: Automatically revalidates data when the window `'online'` event is triggered. Defaults to `false`.\n\n### Polling Revalidation\n\nSWR nodes are able to poll for revalidation. They are different to event-based revalidation as polling revalidation happens in intervals.\n\nThis behavior can be activated through the following options:\n\n- `options.refreshInterval`: Amount of time (in milliseconds) the revalidation goes through in intervals. Defaults to `undefined` (Does not poll). Polling begins immediately after the lazy setup has been triggered.\n\nThe default behavior can be overriden by the following options:\n\n- `options.refreshWhenHidden`: Overrides the default polling behavior and only begins polling after the page becomes hidden (triggered by document `visibilitychange` event.). Once the document becomes visible, polling halts.\n- `options.refreshWhenBlurred`: Overrides the default polling behavior and only begins polling after the page loses focus (triggered by window `blur` and `focus` events). Once the page is focused again, polling halts.\n- `options.refreshWhenOffline`: Overrides the default polling behavior and only begins polling after the page becomes offline (triggered by window `offline` and `online` events). Once the page is focused again, polling halts.\n\n### Lazy Setup\n\nSWR nodes are lazily setup: polling and automatic revalidation only begins when there are subscribers to the nodes. Once a store receives a subscriber (through `store.subscribe` method), the store lazily sets up the revalidation processes, this way, automatic processes are conserved and are only added when needed.\n\nStores also halt from automatic revalidation if they lose all subscribers through reference-counting.\n\n### Cache Age\n\nSWR nodes can define how 'fresh' or 'stale' the cache is, which can alter the revalidation behavior:\n\n- If the cache is 'fresh', revalidation phases skips the fetching stage.\n- If the cache is 'stale', revalidation phases goes through, but the result does not return to `'pending'` state.\n\nThese behavior can be defined through the following options:\n\n- `options.freshAge`: Defines how long the cache stays 'fresh', in milliseconds. Defaults to `2000`. (2 seconds).\n- `options.staleAge`: Defines how long the cache stays 'stale' after becoming 'fresh', in milliseconds. Defaults to `30000` (30 seconds).\n\nA cache is 'fresh' when the time between the cache was updated and was read is between the `options.freshAge` value, otherwise, the cache automatically becomes 'stale'.\nA cache that has been 'stale' will continue being 'stale' until the time between the cache became 'stale' and was read is between the `options.staleAge`.\n\nCache invalidation always happen lazily: checking for cache age only happens when the revalidation process is requested upon (usually automatically through polling or revalidation on events) or manually (`mutate` or `trigger`).\n\n### Deduplication\n\nSWR Stores throttles data fetching processes through the caching strategy. Cache maintain a timestamp internally, marking valid requests and cache references, establishing race conditions.\n\n### CSR-Only Revalidation and Fetching\n\nSWR nodes' cache revalidation and data-fetching only happens on client-side.\n\n### Success Bailouts\n\nSWR nodes, by default, deeply compare success data in between cache updates. This behavior prevents re-notifying subscribers when the contents of the data remains the same. This behavior can be overriden by providing a compare function in `options.compare`.\n\n`mutate` accepts an custom compare function to override this behavior as a fourth parameter.\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)\n","readmeFilename":"README.md","_id":"swr-graph-state@1.6.2-alpha.5","_nodeVersion":"15.4.0","_npmVersion":"lerna/3.22.1/node@v15.4.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-kKUEhpUYt6tG7ZGNKBRhlvVMpCHi1l+4oLB1GSrsFJnbI+OjD/9WjuC4C4vHvFZtKQT5Lss4KqjQwTl0COYzdw==","shasum":"a6637170340410bef0593379b9a1b83019ec1ab5","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.6.2-alpha.5.tgz","fileCount":34,"unpackedSize":223543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaTWvCRA9TVsSAnZWagAAADwP/ilsc4uzwV200npNSdh4\nGCc2kyEwZ7S3jDJe4QkelPlevpNE/gvEhY0mLawb1mVH5pJd1V9DPK93nvfG\nTn4WoRGDfw/j1FX57pvPldawg5FY8qdZwpZ7gcwpBDRaHh7QtbwCW5mMIl8F\nZGxiH9D9XUdRNAKAazHiPILrXTTCbkfcZwDkxPVGn+/pzDcjFNCBA4lXX188\ncAGhnCs4lH7mcc7nmnevWeH3uznb+r7ktIOiPG9eYSB6pAhOA37F97vwzqKB\nZcm9BHY6duAtsuA/r+k2PYW/bEEb3IDrFq8pAB3d6/1gf/F1q9D6UVExdM0Y\n8Y3Y0l3E2BvwqU+UqRSbOo9QGUEGGv/csmEqGFuV0zc6bH0BhKy5b1pxkUL3\nBvHlPy4N+nGw5PZS0gDjtDHlcKhkJn4+9YQ7+xiavLbckC1yXcOt4jVDfYce\n2CgYfqZyvKR4CLsw5SsOi9cJoISpYKJ6VGBmTJ933zfeAXg6A9RLJI9hq/yC\nbfLtmIkxkRArQwkdLpc8iQZMWKNm/CD7AhdLiFk/B2gCqdSIQLv/94Lkxgj8\nWZ8LVMNllmx/C2Vyt1j7UDL+AntOMsZwNNFYnc1Mn98UpTRFC4ycT1z59q2F\n4TDj9zmHOJVrQBF2plctcpq0ix093wA0+V3MyLYdfy+bSIqcbgQ75yx6pWie\nMgqO\r\n=Yg3O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICCqaWLxKCehD7VbGxQYdZHdvHZhbdn/SFgzeiDhkND3AiEAmLSSZbdMdv55+U3Fj60YaxY+hY1xBgO2qHEODDsyXOk="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.6.2-alpha.5_1617507758595_0.39335959229097384"},"_hasShrinkwrap":false},"1.6.2-alpha.6":{"version":"1.6.2-alpha.6","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.20","@types/node":"^14.14.34","eslint":"^7.22.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.6.2-alpha.6+67d1e91","pridepack":"^0.8.0","ts-jest":"^26.5.3","tslib":"^2.1.0","typescript":"^4.2.3"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"67d1e918687f58f362ec6b9aad619e27f7d441dd","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### Hydration\n\nSWR node may present an initial data through `options.initialData`. This data is used only when the store finds an empty cache value. Initial data is also useful for opting-out of initial pending phase and providing a way for SSR pages to hydrate nodes.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n  initialData: prefetchedData,\n});\n```\n\nSWR nodes can also be hydrated manually through `hydrate`.\n\n```ts\nimport { hydrate } from 'swr-graph-node';\n\n// Node hydration\nuserDetails.hydrate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n\n// Global hydration\nhydrate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Subscriptions\n\nSWR nodes allows subscriptions to subscribe for cache updates. Subscribing returns a callback that allows unsubscribing to the cache updates.\n\n```ts\n// Local subscription\nconst unsubscribe = userDetails.subscribe((result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n\n// global subscription\nimport { subscribe } from 'swr-graph-state';\n\nconst unsubscribe = subscribe('/user/details', (result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n```\n\n### Manual Revalidation\n\nSWR nodes have the methods `mutate` and `trigger` which allows manual revalidation of cached data. `mutate` overwrites the cached data while `trigger` prompts for a revalidation.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\nuserDetails.trigger();\n\nuserDetails.mutate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Global Revalidation\n\nSWR nodes share the same global cache, and can be prompted with a global manual revalidation. `trigger` and `mutate` are similar to node's `node.trigger` and `node.mutate` except that they accept the cache key first.\n\nStores subscribers may be notified (`trigger` does not guarantee a notification, while `mutate` guarantees a notification) for the cache update.\n\n```ts\nimport { trigger, mutate } from 'swr-graph-state';\n\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\n// ...\n// Global trigger\ntrigger('/user/details');\n\n// Or mutate\nmutate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Local Revalidation\n\nSWR nodes can be manually revalidated by calling `node.trigger` or `node.mutate`.\n\n- `node.trigger(shouldRevalidate = true)`: Triggers a revalidation from the given arguments. Arguments are passed to `options.key` to locate the cache.\n- `node.mutate(result, shouldRevalidate = true)`: Mutates the cache with `result`. Cache is located based on the key generated from the arguments passed to `options.key`.\n\n```ts\n// Local revalidation\nuserDetails.trigger([userId]);\n\n// is the same as \ntrigger(`/user/${userId}`);\n\n// Since userDetails yields the same key format.\n```\n\n### Auto Revalidation\n\nSWR nodes are able to automatically revalidate data based on DOM events. This feature can be activated based on the following options:\n\n- `options.revalidateOnFocus`: Automatically revalidates data when the window `'focus'` event is triggered. Defaults to `false`.\n- `options.revalidateOnVisibility`: Automatically revalidates data when the document `'visibilitychange'` event is triggered, specifically, if the page is `'visible'`. Defaults to `false`.\n- `options.revalidateOnNetwork`: Automatically revalidates data when the window `'online'` event is triggered. Defaults to `false`.\n\n### Polling Revalidation\n\nSWR nodes are able to poll for revalidation. They are different to event-based revalidation as polling revalidation happens in intervals.\n\nThis behavior can be activated through the following options:\n\n- `options.refreshInterval`: Amount of time (in milliseconds) the revalidation goes through in intervals. Defaults to `undefined` (Does not poll). Polling begins immediately after the lazy setup has been triggered.\n\nThe default behavior can be overriden by the following options:\n\n- `options.refreshWhenHidden`: Overrides the default polling behavior and only begins polling after the page becomes hidden (triggered by document `visibilitychange` event.). Once the document becomes visible, polling halts.\n- `options.refreshWhenBlurred`: Overrides the default polling behavior and only begins polling after the page loses focus (triggered by window `blur` and `focus` events). Once the page is focused again, polling halts.\n- `options.refreshWhenOffline`: Overrides the default polling behavior and only begins polling after the page becomes offline (triggered by window `offline` and `online` events). Once the page is focused again, polling halts.\n\n### Lazy Setup\n\nSWR nodes are lazily setup: polling and automatic revalidation only begins when there are subscribers to the nodes. Once a store receives a subscriber (through `store.subscribe` method), the store lazily sets up the revalidation processes, this way, automatic processes are conserved and are only added when needed.\n\nStores also halt from automatic revalidation if they lose all subscribers through reference-counting.\n\n### Cache Age\n\nSWR nodes can define how 'fresh' or 'stale' the cache is, which can alter the revalidation behavior:\n\n- If the cache is 'fresh', revalidation phases skips the fetching stage.\n- If the cache is 'stale', revalidation phases goes through, but the result does not return to `'pending'` state.\n\nThese behavior can be defined through the following options:\n\n- `options.freshAge`: Defines how long the cache stays 'fresh', in milliseconds. Defaults to `2000`. (2 seconds).\n- `options.staleAge`: Defines how long the cache stays 'stale' after becoming 'fresh', in milliseconds. Defaults to `30000` (30 seconds).\n\nA cache is 'fresh' when the time between the cache was updated and was read is between the `options.freshAge` value, otherwise, the cache automatically becomes 'stale'.\nA cache that has been 'stale' will continue being 'stale' until the time between the cache became 'stale' and was read is between the `options.staleAge`.\n\nCache invalidation always happen lazily: checking for cache age only happens when the revalidation process is requested upon (usually automatically through polling or revalidation on events) or manually (`mutate` or `trigger`).\n\n### Deduplication\n\nSWR Stores throttles data fetching processes through the caching strategy. Cache maintain a timestamp internally, marking valid requests and cache references, establishing race conditions.\n\n### CSR-Only Revalidation and Fetching\n\nSWR nodes' cache revalidation and data-fetching only happens on client-side.\n\n### Success Bailouts\n\nSWR nodes, by default, deeply compare success data in between cache updates. This behavior prevents re-notifying subscribers when the contents of the data remains the same. This behavior can be overriden by providing a compare function in `options.compare`.\n\n`mutate` accepts an custom compare function to override this behavior as a fourth parameter.\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)\n","readmeFilename":"README.md","_id":"swr-graph-state@1.6.2-alpha.6","_nodeVersion":"15.4.0","_npmVersion":"lerna/3.22.1/node@v15.4.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-Iz+JbpzRUqudmQgpUeCvmm049/TlmZxur8Mb6ReSRTZ0hb8OhTUFrpXEAwUgIpuR26OEq1IbLKHL3tuZWrqeng==","shasum":"99c5af1e01828a5c084abbb651f9ac8d6340c113","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.6.2-alpha.6.tgz","fileCount":34,"unpackedSize":223543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaTazCRA9TVsSAnZWagAAj3oP/At6sK2OKiU5B9Ufccrw\nvWzVqDEuOun+5UTpeK4rOCaerCoBYR3SdunYKaUf3oNChjiITOvcrV1wXHDx\nbb7RiN6gM6KiNAVjpPi5QQ0NyuXIExd2cPkK+yB1a9II/ReSRR1yg18zhGFm\nAS7UqZcpKwCoZRGEfcW8MsIYbVX1HS8NmUWk3uR1heyVJLKjAYRNsH9nYRzu\ngAkrhtBDFH/jkIs6nmJ3u/d8ZfO1oEm1ckJN2zLBEnUcRL9pzvFjxbgwaHcH\nVt+Ktpk19cocP5AIr5ArcCbHMkvhkp/I739B7yIRXfGSFX+DM/rNsdE7bX+C\n0b8HHm7ospogDwi6YymDQNrQYe2XyqYv06ZzrI3uID/CS7L+Nqp+p0zPsFyX\nDnaQ/AOiZoHIYFRESctYw2v4QXvF/avUqiMrp+Lz//zkqljGm3dG+p7Fm2Ze\nF1i5pwMMTDLGh52axHSCV1wJ40S3fwco4rmj+G2UNwx9fcTFC795QmCb1gvS\nOstcXbPB7T027KsGUHoiLi2YL2lyLg4MkdZbrg07AU1wuiQ45/dTk9ivNfbs\nCsaIujPqT+/M4V6lI1CjTJFttDnP1qBaYT8RNhanFY0GxaJEyKAOi8QXnh4c\nEt8VMfO1KMqHHZKzo75yoWa0VlRbrTuqGRgNU5dyTrRrUOQA9BwIYVQKL9Q7\npl5y\r\n=hw94\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKdihmreBVW12thSdm2vtq1Avgk1Zl7eVoT3kvk6MKawIgZw2iZ/3EpWi5Ye+KqEEKWoPkzA1rctz/t/0niN1olsU="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.6.2-alpha.6_1617508019264_0.7208184695761641"},"_hasShrinkwrap":false},"1.6.2-alpha.7":{"version":"1.6.2-alpha.7","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.20","@types/node":"^14.14.34","eslint":"^7.22.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.6.2-alpha.7+597b904","pridepack":"^0.8.0","ts-jest":"^26.5.3","tslib":"^2.1.0","typescript":"^4.2.3"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"597b9043b1774e76e57c07c596a84d87b7ecc437","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### Hydration\n\nSWR node may present an initial data through `options.initialData`. This data is used only when the store finds an empty cache value. Initial data is also useful for opting-out of initial pending phase and providing a way for SSR pages to hydrate nodes.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n  initialData: prefetchedData,\n});\n```\n\nSWR nodes can also be hydrated manually through `hydrate`.\n\n```ts\nimport { hydrate } from 'swr-graph-node';\n\n// Node hydration\nuserDetails.hydrate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n\n// Global hydration\nhydrate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Subscriptions\n\nSWR nodes allows subscriptions to subscribe for cache updates. Subscribing returns a callback that allows unsubscribing to the cache updates.\n\n```ts\n// Local subscription\nconst unsubscribe = userDetails.subscribe((result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n\n// global subscription\nimport { subscribe } from 'swr-graph-state';\n\nconst unsubscribe = subscribe('/user/details', (result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n```\n\n### Manual Revalidation\n\nSWR nodes have the methods `mutate` and `trigger` which allows manual revalidation of cached data. `mutate` overwrites the cached data while `trigger` prompts for a revalidation.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\nuserDetails.trigger();\n\nuserDetails.mutate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Global Revalidation\n\nSWR nodes share the same global cache, and can be prompted with a global manual revalidation. `trigger` and `mutate` are similar to node's `node.trigger` and `node.mutate` except that they accept the cache key first.\n\nStores subscribers may be notified (`trigger` does not guarantee a notification, while `mutate` guarantees a notification) for the cache update.\n\n```ts\nimport { trigger, mutate } from 'swr-graph-state';\n\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\n// ...\n// Global trigger\ntrigger('/user/details');\n\n// Or mutate\nmutate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Local Revalidation\n\nSWR nodes can be manually revalidated by calling `node.trigger` or `node.mutate`.\n\n- `node.trigger(shouldRevalidate = true)`: Triggers a revalidation from the given arguments. Arguments are passed to `options.key` to locate the cache.\n- `node.mutate(result, shouldRevalidate = true)`: Mutates the cache with `result`. Cache is located based on the key generated from the arguments passed to `options.key`.\n\n```ts\n// Local revalidation\nuserDetails.trigger([userId]);\n\n// is the same as \ntrigger(`/user/${userId}`);\n\n// Since userDetails yields the same key format.\n```\n\n### Auto Revalidation\n\nSWR nodes are able to automatically revalidate data based on DOM events. This feature can be activated based on the following options:\n\n- `options.revalidateOnFocus`: Automatically revalidates data when the window `'focus'` event is triggered. Defaults to `false`.\n- `options.revalidateOnVisibility`: Automatically revalidates data when the document `'visibilitychange'` event is triggered, specifically, if the page is `'visible'`. Defaults to `false`.\n- `options.revalidateOnNetwork`: Automatically revalidates data when the window `'online'` event is triggered. Defaults to `false`.\n\n### Polling Revalidation\n\nSWR nodes are able to poll for revalidation. They are different to event-based revalidation as polling revalidation happens in intervals.\n\nThis behavior can be activated through the following options:\n\n- `options.refreshInterval`: Amount of time (in milliseconds) the revalidation goes through in intervals. Defaults to `undefined` (Does not poll). Polling begins immediately after the lazy setup has been triggered.\n\nThe default behavior can be overriden by the following options:\n\n- `options.refreshWhenHidden`: Overrides the default polling behavior and only begins polling after the page becomes hidden (triggered by document `visibilitychange` event.). Once the document becomes visible, polling halts.\n- `options.refreshWhenBlurred`: Overrides the default polling behavior and only begins polling after the page loses focus (triggered by window `blur` and `focus` events). Once the page is focused again, polling halts.\n- `options.refreshWhenOffline`: Overrides the default polling behavior and only begins polling after the page becomes offline (triggered by window `offline` and `online` events). Once the page is focused again, polling halts.\n\n### Lazy Setup\n\nSWR nodes are lazily setup: polling and automatic revalidation only begins when there are subscribers to the nodes. Once a store receives a subscriber (through `store.subscribe` method), the store lazily sets up the revalidation processes, this way, automatic processes are conserved and are only added when needed.\n\nStores also halt from automatic revalidation if they lose all subscribers through reference-counting.\n\n### Cache Age\n\nSWR nodes can define how 'fresh' or 'stale' the cache is, which can alter the revalidation behavior:\n\n- If the cache is 'fresh', revalidation phases skips the fetching stage.\n- If the cache is 'stale', revalidation phases goes through, but the result does not return to `'pending'` state.\n\nThese behavior can be defined through the following options:\n\n- `options.freshAge`: Defines how long the cache stays 'fresh', in milliseconds. Defaults to `2000`. (2 seconds).\n- `options.staleAge`: Defines how long the cache stays 'stale' after becoming 'fresh', in milliseconds. Defaults to `30000` (30 seconds).\n\nA cache is 'fresh' when the time between the cache was updated and was read is between the `options.freshAge` value, otherwise, the cache automatically becomes 'stale'.\nA cache that has been 'stale' will continue being 'stale' until the time between the cache became 'stale' and was read is between the `options.staleAge`.\n\nCache invalidation always happen lazily: checking for cache age only happens when the revalidation process is requested upon (usually automatically through polling or revalidation on events) or manually (`mutate` or `trigger`).\n\n### Deduplication\n\nSWR Stores throttles data fetching processes through the caching strategy. Cache maintain a timestamp internally, marking valid requests and cache references, establishing race conditions.\n\n### CSR-Only Revalidation and Fetching\n\nSWR nodes' cache revalidation and data-fetching only happens on client-side.\n\n### Success Bailouts\n\nSWR nodes, by default, deeply compare success data in between cache updates. This behavior prevents re-notifying subscribers when the contents of the data remains the same. This behavior can be overriden by providing a compare function in `options.compare`.\n\n`mutate` accepts an custom compare function to override this behavior as a fourth parameter.\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)\n","readmeFilename":"README.md","_id":"swr-graph-state@1.6.2-alpha.7","_nodeVersion":"15.4.0","_npmVersion":"lerna/3.22.1/node@v15.4.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-mQTiki4IANSmv+aS7fR4WyuwL7eLccDy9HcAmtlN+EP2/jm2W6Cbc8NDpHulsTRUKhBWDrhdwSAaDn5qd7qHUA==","shasum":"36980b9e6e77cfc8c125949da16815036f6afbeb","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.6.2-alpha.7.tgz","fileCount":34,"unpackedSize":223523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaTeyCRA9TVsSAnZWagAAtI4P/Au2ggbzGRP1dTNll+Cu\nivusClFf6CAoINVEvgrHUcTDYTgNhGcuU+kMM5Pw616jZhVBeFD8YvBfuW9A\nZzffKVgMb/xEkGJszBEzEWMO/J0TPzrLlr2vK5xkW+hAwu1u8wNv8zMf3dNM\nu5Sn/Xh8AgPF/+X56PHI4MzDNYaKYDr5APVPYJmYxSsgGvwXz3+lqJ0CimNc\nzyA10azVTrEw/BZ6YeG7OdXUzzdT7uo/gUGyTU4B0roHp1pgXahxJOOOJ5sT\nLxVSxuFCbAv/83T+g5vjJUgZ8UghIwrErXOH174ciGBr+4muWoc47zca/zB1\nZZlRYprp9135TRH9gv8cIwG4hHCaRbsDcev41CYa0EaatVRGm1ojW8jtPdvD\nUkT2vZ1CoUIK+J+RtuW3ozrFHrHe5Wt9hjgJ2X2F5sc0AlMJG1GbkcP2ld9m\noxiHpYvP5EMWaRPI/DfBs00pqXvonR/GCodeNBJkKZNlL0QBGipJDEU04PpE\n+eNPFSQdl3j9dWZFb/1UzDybvlE+nTvxsG5jCdMzcL0D2KSDFbyzOxJDgkW4\n5kpM4PcuXj0fGy6lMsJvALtxvdyOdIkbgeRjqU+HcF7f4esine6h45+f2Iwb\np4BM9AXYlqiAXn8OXXIFk0N+jIptpX0S7rPgFrZqc3INqKOvwsqiASfB0opP\nPpVv\r\n=gbvc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIESSe0+xO9hHJwSrnH6gGpk3sALwc+3/EYKoVVW5tgYuAiATTL/WBh0zrd7yijvhQxRL8W5q8ORHXSCMHqR1W8ZKAQ=="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.6.2-alpha.7_1617508274198_0.544471778405607"},"_hasShrinkwrap":false},"1.6.2-alpha.8":{"version":"1.6.2-alpha.8","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.20","@types/node":"^14.14.34","eslint":"^7.22.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.6.2-alpha.8+7ea318b","pridepack":"^0.8.0","ts-jest":"^26.5.3","tslib":"^2.1.0","typescript":"^4.2.3"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"7ea318bb7556de56993acd25b7f6efa16d1a9295","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### Hydration\n\nSWR node may present an initial data through `options.initialData`. This data is used only when the store finds an empty cache value. Initial data is also useful for opting-out of initial pending phase and providing a way for SSR pages to hydrate nodes.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n  initialData: prefetchedData,\n});\n```\n\nSWR nodes can also be hydrated manually through `hydrate`.\n\n```ts\nimport { hydrate } from 'swr-graph-node';\n\n// Node hydration\nuserDetails.hydrate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n\n// Global hydration\nhydrate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Subscriptions\n\nSWR nodes allows subscriptions to subscribe for cache updates. Subscribing returns a callback that allows unsubscribing to the cache updates.\n\n```ts\n// Local subscription\nconst unsubscribe = userDetails.subscribe((result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n\n// global subscription\nimport { subscribe } from 'swr-graph-state';\n\nconst unsubscribe = subscribe('/user/details', (result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n```\n\n### Manual Revalidation\n\nSWR nodes have the methods `mutate` and `trigger` which allows manual revalidation of cached data. `mutate` overwrites the cached data while `trigger` prompts for a revalidation.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\nuserDetails.trigger();\n\nuserDetails.mutate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Global Revalidation\n\nSWR nodes share the same global cache, and can be prompted with a global manual revalidation. `trigger` and `mutate` are similar to node's `node.trigger` and `node.mutate` except that they accept the cache key first.\n\nStores subscribers may be notified (`trigger` does not guarantee a notification, while `mutate` guarantees a notification) for the cache update.\n\n```ts\nimport { trigger, mutate } from 'swr-graph-state';\n\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\n// ...\n// Global trigger\ntrigger('/user/details');\n\n// Or mutate\nmutate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Local Revalidation\n\nSWR nodes can be manually revalidated by calling `node.trigger` or `node.mutate`.\n\n- `node.trigger(shouldRevalidate = true)`: Triggers a revalidation from the given arguments. Arguments are passed to `options.key` to locate the cache.\n- `node.mutate(result, shouldRevalidate = true)`: Mutates the cache with `result`. Cache is located based on the key generated from the arguments passed to `options.key`.\n\n```ts\n// Local revalidation\nuserDetails.trigger([userId]);\n\n// is the same as \ntrigger(`/user/${userId}`);\n\n// Since userDetails yields the same key format.\n```\n\n### Auto Revalidation\n\nSWR nodes are able to automatically revalidate data based on DOM events. This feature can be activated based on the following options:\n\n- `options.revalidateOnFocus`: Automatically revalidates data when the window `'focus'` event is triggered. Defaults to `false`.\n- `options.revalidateOnVisibility`: Automatically revalidates data when the document `'visibilitychange'` event is triggered, specifically, if the page is `'visible'`. Defaults to `false`.\n- `options.revalidateOnNetwork`: Automatically revalidates data when the window `'online'` event is triggered. Defaults to `false`.\n\n### Polling Revalidation\n\nSWR nodes are able to poll for revalidation. They are different to event-based revalidation as polling revalidation happens in intervals.\n\nThis behavior can be activated through the following options:\n\n- `options.refreshInterval`: Amount of time (in milliseconds) the revalidation goes through in intervals. Defaults to `undefined` (Does not poll). Polling begins immediately after the lazy setup has been triggered.\n\nThe default behavior can be overriden by the following options:\n\n- `options.refreshWhenHidden`: Overrides the default polling behavior and only begins polling after the page becomes hidden (triggered by document `visibilitychange` event.). Once the document becomes visible, polling halts.\n- `options.refreshWhenBlurred`: Overrides the default polling behavior and only begins polling after the page loses focus (triggered by window `blur` and `focus` events). Once the page is focused again, polling halts.\n- `options.refreshWhenOffline`: Overrides the default polling behavior and only begins polling after the page becomes offline (triggered by window `offline` and `online` events). Once the page is focused again, polling halts.\n\n### Lazy Setup\n\nSWR nodes are lazily setup: polling and automatic revalidation only begins when there are subscribers to the nodes. Once a store receives a subscriber (through `store.subscribe` method), the store lazily sets up the revalidation processes, this way, automatic processes are conserved and are only added when needed.\n\nStores also halt from automatic revalidation if they lose all subscribers through reference-counting.\n\n### Cache Age\n\nSWR nodes can define how 'fresh' or 'stale' the cache is, which can alter the revalidation behavior:\n\n- If the cache is 'fresh', revalidation phases skips the fetching stage.\n- If the cache is 'stale', revalidation phases goes through, but the result does not return to `'pending'` state.\n\nThese behavior can be defined through the following options:\n\n- `options.freshAge`: Defines how long the cache stays 'fresh', in milliseconds. Defaults to `2000`. (2 seconds).\n- `options.staleAge`: Defines how long the cache stays 'stale' after becoming 'fresh', in milliseconds. Defaults to `30000` (30 seconds).\n\nA cache is 'fresh' when the time between the cache was updated and was read is between the `options.freshAge` value, otherwise, the cache automatically becomes 'stale'.\nA cache that has been 'stale' will continue being 'stale' until the time between the cache became 'stale' and was read is between the `options.staleAge`.\n\nCache invalidation always happen lazily: checking for cache age only happens when the revalidation process is requested upon (usually automatically through polling or revalidation on events) or manually (`mutate` or `trigger`).\n\n### Deduplication\n\nSWR Stores throttles data fetching processes through the caching strategy. Cache maintain a timestamp internally, marking valid requests and cache references, establishing race conditions.\n\n### CSR-Only Revalidation and Fetching\n\nSWR nodes' cache revalidation and data-fetching only happens on client-side.\n\n### Success Bailouts\n\nSWR nodes, by default, deeply compare success data in between cache updates. This behavior prevents re-notifying subscribers when the contents of the data remains the same. This behavior can be overriden by providing a compare function in `options.compare`.\n\n`mutate` accepts an custom compare function to override this behavior as a fourth parameter.\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)\n","readmeFilename":"README.md","_id":"swr-graph-state@1.6.2-alpha.8","_nodeVersion":"15.4.0","_npmVersion":"lerna/3.22.1/node@v15.4.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-a/e8Q5YkNSLtQvdpRMYxe2Tr+idY/EjmjOmZfCUbsFx8d5VO/HwzADAHQrctrp3D8AQcaFaH04BYZzjsgEjn4A==","shasum":"daa7d6d7763df9b1326c428c756df10764861067","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.6.2-alpha.8.tgz","fileCount":34,"unpackedSize":223523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaTqvCRA9TVsSAnZWagAA2JYP/joI44CRWdozHIVHi4/r\nGzD7/wDbCkZ34wP9XhqQcR5DQeg8VjwVz92vF+1JY5LN6aWGu1amYfybSLlQ\noF8qI+a26mS9KB3EOVXFJCfYFhi5mUrpgz2uI1WhbvqxnS9stcDFXVxHmpxl\ni3j+09eqRxhByBqnFAkKaevQBXPTEMoCGghySBTUzQE/kq1Ojr6W5bC5czS+\n+xzschkJ048Afi7Jl70JczhuSMdL85oaAgtTax0xo5YTx3ecymVakbXTaYnA\nC/0ZnRWVS6yF3FN1hqCQ72rVQBgjtCkOVblIb6g26I0U5Kmo0wgRqrTbFwpW\nwQMaDq+tiYV99NpityMrHBP1/118/ape+ajvmYB6UcOmOjmTgcP2DmnubPb3\npCE4SHgNqL7grOD+g8nqJSlAfg8UXlFTpBxywmg56zDYBuIgTiIyMlhYKTJE\npgFbZWex/lAJTUETsrAmxZtD1ieIvpcMrcW2f5pB+MPFI54Xv1Dg4VXTQV6M\nBo+XdzwKsHv40vQ4MQnqI7StthU+pgxvj9TuHsCuPhcnkIHNt1qxXk5tkyZu\n1xpuREbJA06G6YBH8Ic0zCAmhfC3+uQWYEJHcV6E2/v30F4dBivhJO3oWfZL\n5WFWq3s376Gr4bQOTCp6aEavndNWAx5sO9vqCLNoU+yshwt7imklcx46Vr/r\n99C/\r\n=aJ+w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfqeGRE15GDsG81Evl/cE4QZcPhicrBHEC+aqazGPNPgIhAL9J9Sg2Fw127TNbeBMAkwnjIGXEtzcgqrDK/uwhsWkk"}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.6.2-alpha.8_1617509038812_0.6516779604137621"},"_hasShrinkwrap":false},"1.6.2-alpha.9":{"version":"1.6.2-alpha.9","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.20","@types/node":"^14.14.34","eslint":"^7.22.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.6.2-alpha.9+3a62d13","pridepack":"^0.8.0","ts-jest":"^26.5.3","tslib":"^2.1.0","typescript":"^4.2.3"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"3a62d13fa30c84ed88539a17b9b1facd789b82b4","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### Hydration\n\nSWR node may present an initial data through `options.initialData`. This data is used only when the store finds an empty cache value. Initial data is also useful for opting-out of initial pending phase and providing a way for SSR pages to hydrate nodes.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n  initialData: prefetchedData,\n});\n```\n\nSWR nodes can also be hydrated manually through `hydrate`.\n\n```ts\nimport { hydrate } from 'swr-graph-node';\n\n// Node hydration\nuserDetails.hydrate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n\n// Global hydration\nhydrate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Subscriptions\n\nSWR nodes allows subscriptions to subscribe for cache updates. Subscribing returns a callback that allows unsubscribing to the cache updates.\n\n```ts\n// Local subscription\nconst unsubscribe = userDetails.subscribe((result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n\n// global subscription\nimport { subscribe } from 'swr-graph-state';\n\nconst unsubscribe = subscribe('/user/details', (result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n```\n\n### Manual Revalidation\n\nSWR nodes have the methods `mutate` and `trigger` which allows manual revalidation of cached data. `mutate` overwrites the cached data while `trigger` prompts for a revalidation.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\nuserDetails.trigger();\n\nuserDetails.mutate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Global Revalidation\n\nSWR nodes share the same global cache, and can be prompted with a global manual revalidation. `trigger` and `mutate` are similar to node's `node.trigger` and `node.mutate` except that they accept the cache key first.\n\nStores subscribers may be notified (`trigger` does not guarantee a notification, while `mutate` guarantees a notification) for the cache update.\n\n```ts\nimport { trigger, mutate } from 'swr-graph-state';\n\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\n// ...\n// Global trigger\ntrigger('/user/details');\n\n// Or mutate\nmutate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Local Revalidation\n\nSWR nodes can be manually revalidated by calling `node.trigger` or `node.mutate`.\n\n- `node.trigger(shouldRevalidate = true)`: Triggers a revalidation from the given arguments. Arguments are passed to `options.key` to locate the cache.\n- `node.mutate(result, shouldRevalidate = true)`: Mutates the cache with `result`. Cache is located based on the key generated from the arguments passed to `options.key`.\n\n```ts\n// Local revalidation\nuserDetails.trigger([userId]);\n\n// is the same as \ntrigger(`/user/${userId}`);\n\n// Since userDetails yields the same key format.\n```\n\n### Auto Revalidation\n\nSWR nodes are able to automatically revalidate data based on DOM events. This feature can be activated based on the following options:\n\n- `options.revalidateOnFocus`: Automatically revalidates data when the window `'focus'` event is triggered. Defaults to `false`.\n- `options.revalidateOnVisibility`: Automatically revalidates data when the document `'visibilitychange'` event is triggered, specifically, if the page is `'visible'`. Defaults to `false`.\n- `options.revalidateOnNetwork`: Automatically revalidates data when the window `'online'` event is triggered. Defaults to `false`.\n\n### Polling Revalidation\n\nSWR nodes are able to poll for revalidation. They are different to event-based revalidation as polling revalidation happens in intervals.\n\nThis behavior can be activated through the following options:\n\n- `options.refreshInterval`: Amount of time (in milliseconds) the revalidation goes through in intervals. Defaults to `undefined` (Does not poll). Polling begins immediately after the lazy setup has been triggered.\n\nThe default behavior can be overriden by the following options:\n\n- `options.refreshWhenHidden`: Overrides the default polling behavior and only begins polling after the page becomes hidden (triggered by document `visibilitychange` event.). Once the document becomes visible, polling halts.\n- `options.refreshWhenBlurred`: Overrides the default polling behavior and only begins polling after the page loses focus (triggered by window `blur` and `focus` events). Once the page is focused again, polling halts.\n- `options.refreshWhenOffline`: Overrides the default polling behavior and only begins polling after the page becomes offline (triggered by window `offline` and `online` events). Once the page is focused again, polling halts.\n\n### Lazy Setup\n\nSWR nodes are lazily setup: polling and automatic revalidation only begins when there are subscribers to the nodes. Once a store receives a subscriber (through `store.subscribe` method), the store lazily sets up the revalidation processes, this way, automatic processes are conserved and are only added when needed.\n\nStores also halt from automatic revalidation if they lose all subscribers through reference-counting.\n\n### Cache Age\n\nSWR nodes can define how 'fresh' or 'stale' the cache is, which can alter the revalidation behavior:\n\n- If the cache is 'fresh', revalidation phases skips the fetching stage.\n- If the cache is 'stale', revalidation phases goes through, but the result does not return to `'pending'` state.\n\nThese behavior can be defined through the following options:\n\n- `options.freshAge`: Defines how long the cache stays 'fresh', in milliseconds. Defaults to `2000`. (2 seconds).\n- `options.staleAge`: Defines how long the cache stays 'stale' after becoming 'fresh', in milliseconds. Defaults to `30000` (30 seconds).\n\nA cache is 'fresh' when the time between the cache was updated and was read is between the `options.freshAge` value, otherwise, the cache automatically becomes 'stale'.\nA cache that has been 'stale' will continue being 'stale' until the time between the cache became 'stale' and was read is between the `options.staleAge`.\n\nCache invalidation always happen lazily: checking for cache age only happens when the revalidation process is requested upon (usually automatically through polling or revalidation on events) or manually (`mutate` or `trigger`).\n\n### Deduplication\n\nSWR Stores throttles data fetching processes through the caching strategy. Cache maintain a timestamp internally, marking valid requests and cache references, establishing race conditions.\n\n### CSR-Only Revalidation and Fetching\n\nSWR nodes' cache revalidation and data-fetching only happens on client-side.\n\n### Success Bailouts\n\nSWR nodes, by default, deeply compare success data in between cache updates. This behavior prevents re-notifying subscribers when the contents of the data remains the same. This behavior can be overriden by providing a compare function in `options.compare`.\n\n`mutate` accepts an custom compare function to override this behavior as a fourth parameter.\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)\n","readmeFilename":"README.md","_id":"swr-graph-state@1.6.2-alpha.9","_nodeVersion":"15.4.0","_npmVersion":"lerna/3.22.1/node@v15.4.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-yICjy5OW9M2qSuYxSyEzCrd/TgJCuOqv6ymVfjgOOc7jGkowZ/1OZpfmO9Zyv12brqsQppUlPLwE4FfC/EByKA==","shasum":"f27e0950df46102115645ca2dd753de89b415b0d","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.6.2-alpha.9.tgz","fileCount":34,"unpackedSize":223523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaTr3CRA9TVsSAnZWagAAxnYP/i2GiHSKiZ/r4jO1/1H2\n8ZC9VqQzN9ED6D76GkRrxw72Yi7PmyUX8TY0KzFb8josquFQ7PxYfnh1BEQp\nba+668+MVNemnUdfF0P8o6eBGtLQr23uF5kL27vH6j8WerAirYGs4Ajt2vUL\n7M9445iBexldYDxkVBmdKoZo/4XpmSm84gNMfwtDDMrsN5H5xhKB4C7de6YL\nEXR/7/ZgxCU90Bfj/FVQ7WhoZyQN/AdLiSN8aZVdRqAJS1+OZ36XJvz1DXYf\nE2XGMNHWj44MDlG0zBh9Z3eQ2t1RJD1JgjxNtOEb+X48dGzkb+xiVeKL4Ma2\ndEoMVJEqiPA6C184ZhMjgueJc90WiWUapjIH5Cv06e2vvfhs1E48cC9yOdy/\nQk9ipsAftZ6UOm4B9vIsfwWQ7JtY0OdZ8sLd1FqeVHb22DLpqe2/zX2ZaDW5\nXbqgBTwGwyAn+cfWLE23Y2uncYlM3xE/OCJdYV6qstRgejjLHEuh1MZoIK7X\nfyvqf/LO7CuMJGU9y5TYhW4ry1oWFli61W9pnDSMxKSdi0aBWTwmpq0pNJsR\n7PfiobPwtTnq5rVV5dqlemI79YTXH855bO7tnnycHG1Kye7bnHm+3/PMH86l\ntev/3nEKXs7WCbxT97Ttuip4pkg8AGMfBh7JoDCd6sBRUkqJNxHSFEOZ5arN\nwhW3\r\n=fUgX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHlx9S0WyAI23ZlI4nd3DZ57u0EovHaj/TTQLE4txBksAiEAxUqph0/seMR64DFg+lpNv5nJuOBecNqFLAlwVmjuQQE="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.6.2-alpha.9_1617509110520_0.18684578307067756"},"_hasShrinkwrap":false},"1.6.2-alpha.12":{"version":"1.6.2-alpha.12","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.20","@types/node":"^14.14.34","eslint":"^7.22.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"1.6.2-alpha.12+4681b45","pridepack":"^0.8.0","ts-jest":"^26.5.3","tslib":"^2.1.0","typescript":"^4.2.3"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"dequal":"^2.0.2"},"gitHead":"4681b45a310d32090edd342f1887be3fe3a0ec4c","readme":"# swr-graph-state\n\n> SWR + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { createGraphNode } from 'graph-state';\nimport { createSWRGraphNode } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = createGraphNode({\n  get: 'shiba',\n});\n\nconst dogAPI = createSWRGraphNode<APIResult>({\n  key: 'dogAPI',\n  fetch: async ({ get }) => {\n    const breed = get(dogBreed);\n    const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n    return (await response.json()) as APIResult;\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### Hydration\n\nSWR node may present an initial data through `options.initialData`. This data is used only when the store finds an empty cache value. Initial data is also useful for opting-out of initial pending phase and providing a way for SSR pages to hydrate nodes.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n  initialData: prefetchedData,\n});\n```\n\nSWR nodes can also be hydrated manually through `hydrate`.\n\n```ts\nimport { hydrate } from 'swr-graph-node';\n\n// Node hydration\nuserDetails.hydrate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n\n// Global hydration\nhydrate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Subscriptions\n\nSWR nodes allows subscriptions to subscribe for cache updates. Subscribing returns a callback that allows unsubscribing to the cache updates.\n\n```ts\n// Local subscription\nconst unsubscribe = userDetails.subscribe((result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n\n// global subscription\nimport { subscribe } from 'swr-graph-state';\n\nconst unsubscribe = subscribe('/user/details', (result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n```\n\n### Manual Revalidation\n\nSWR nodes have the methods `mutate` and `trigger` which allows manual revalidation of cached data. `mutate` overwrites the cached data while `trigger` prompts for a revalidation.\n\n```ts\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\nuserDetails.trigger();\n\nuserDetails.mutate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Global Revalidation\n\nSWR nodes share the same global cache, and can be prompted with a global manual revalidation. `trigger` and `mutate` are similar to node's `node.trigger` and `node.mutate` except that they accept the cache key first.\n\nStores subscribers may be notified (`trigger` does not guarantee a notification, while `mutate` guarantees a notification) for the cache update.\n\n```ts\nimport { trigger, mutate } from 'swr-graph-state';\n\nconst userDetails = createSWRGraphNode({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\n// ...\n// Global trigger\ntrigger('/user/details');\n\n// Or mutate\nmutate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Local Revalidation\n\nSWR nodes can be manually revalidated by calling `node.trigger` or `node.mutate`.\n\n- `node.trigger(shouldRevalidate = true)`: Triggers a revalidation from the given arguments. Arguments are passed to `options.key` to locate the cache.\n- `node.mutate(result, shouldRevalidate = true)`: Mutates the cache with `result`. Cache is located based on the key generated from the arguments passed to `options.key`.\n\n```ts\n// Local revalidation\nuserDetails.trigger([userId]);\n\n// is the same as \ntrigger(`/user/${userId}`);\n\n// Since userDetails yields the same key format.\n```\n\n### Auto Revalidation\n\nSWR nodes are able to automatically revalidate data based on DOM events. This feature can be activated based on the following options:\n\n- `options.revalidateOnFocus`: Automatically revalidates data when the window `'focus'` event is triggered. Defaults to `false`.\n- `options.revalidateOnVisibility`: Automatically revalidates data when the document `'visibilitychange'` event is triggered, specifically, if the page is `'visible'`. Defaults to `false`.\n- `options.revalidateOnNetwork`: Automatically revalidates data when the window `'online'` event is triggered. Defaults to `false`.\n\n### Polling Revalidation\n\nSWR nodes are able to poll for revalidation. They are different to event-based revalidation as polling revalidation happens in intervals.\n\nThis behavior can be activated through the following options:\n\n- `options.refreshInterval`: Amount of time (in milliseconds) the revalidation goes through in intervals. Defaults to `undefined` (Does not poll). Polling begins immediately after the lazy setup has been triggered.\n\nThe default behavior can be overriden by the following options:\n\n- `options.refreshWhenHidden`: Overrides the default polling behavior and only begins polling after the page becomes hidden (triggered by document `visibilitychange` event.). Once the document becomes visible, polling halts.\n- `options.refreshWhenBlurred`: Overrides the default polling behavior and only begins polling after the page loses focus (triggered by window `blur` and `focus` events). Once the page is focused again, polling halts.\n- `options.refreshWhenOffline`: Overrides the default polling behavior and only begins polling after the page becomes offline (triggered by window `offline` and `online` events). Once the page is focused again, polling halts.\n\n### Lazy Setup\n\nSWR nodes are lazily setup: polling and automatic revalidation only begins when there are subscribers to the nodes. Once a store receives a subscriber (through `store.subscribe` method), the store lazily sets up the revalidation processes, this way, automatic processes are conserved and are only added when needed.\n\nStores also halt from automatic revalidation if they lose all subscribers through reference-counting.\n\n### Cache Age\n\nSWR nodes can define how 'fresh' or 'stale' the cache is, which can alter the revalidation behavior:\n\n- If the cache is 'fresh', revalidation phases skips the fetching stage.\n- If the cache is 'stale', revalidation phases goes through, but the result does not return to `'pending'` state.\n\nThese behavior can be defined through the following options:\n\n- `options.freshAge`: Defines how long the cache stays 'fresh', in milliseconds. Defaults to `2000`. (2 seconds).\n- `options.staleAge`: Defines how long the cache stays 'stale' after becoming 'fresh', in milliseconds. Defaults to `30000` (30 seconds).\n\nA cache is 'fresh' when the time between the cache was updated and was read is between the `options.freshAge` value, otherwise, the cache automatically becomes 'stale'.\nA cache that has been 'stale' will continue being 'stale' until the time between the cache became 'stale' and was read is between the `options.staleAge`.\n\nCache invalidation always happen lazily: checking for cache age only happens when the revalidation process is requested upon (usually automatically through polling or revalidation on events) or manually (`mutate` or `trigger`).\n\n### Deduplication\n\nSWR Stores throttles data fetching processes through the caching strategy. Cache maintain a timestamp internally, marking valid requests and cache references, establishing race conditions.\n\n### CSR-Only Revalidation and Fetching\n\nSWR nodes' cache revalidation and data-fetching only happens on client-side.\n\n### Success Bailouts\n\nSWR nodes, by default, deeply compare success data in between cache updates. This behavior prevents re-notifying subscribers when the contents of the data remains the same. This behavior can be overriden by providing a compare function in `options.compare`.\n\n`mutate` accepts an custom compare function to override this behavior as a fourth parameter.\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)\n","readmeFilename":"README.md","_id":"swr-graph-state@1.6.2-alpha.12","_nodeVersion":"15.4.0","_npmVersion":"lerna/3.22.1/node@v15.4.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-tys5h7b+wxhnUeYtS+Et2MbIkuXddH4yeOFi06BGDucIJc9mBRGcOxh5hpLfTW4NcucdaTaOdRtaMohQr5PVrw==","shasum":"2080001b5be3717463d21d3fbc35ceced2c04643","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-1.6.2-alpha.12.tgz","fileCount":34,"unpackedSize":223525,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaWAbCRA9TVsSAnZWagAAVDMP/2iOAXmWNfWCZX1ED55t\ngJBAeNL0B/WbcPrpODkPRI1bjHPFqxiVIPN0OR+1f8GtXzJPumcbDFI5OuSJ\nTO/kgvRShRXsUsnf0Ldi2EkmvGvvCHkO31BFTDFMSlYXKLfqjAl8+nCA1hra\nuz9+TD2B3KZyIs43O0+58qJerHC5MCyGCxdgzk8jz6Pdzgbr1fSis5zQ2LhC\nI9LQvgU6iGO7NuWboe4XzpkbJOKakRJtXzsd9WcXkJKsIS3CtK6G6Zeqpp3l\n5hf87RtffHXQFRjoJb4z950Pm8VLhVZDgCcP65Rjd920m1BNDSz6yRZdN1ac\nbPT7ctChFgUw7epspWy8EV1YHo5zFY2zNRCbYFti5nzrXaHdHYIRqwu7YCBw\nx/hREjUT+bHgMuLY5d97OnM4W9DZFS4HOp/Vilcgm+95skEgnTOv8Tbeq5bu\nw6h/duDz6m6FHF9qWiODopJT4lfL/lGaNoNLPEHPaogcxkKTFknqj8tK4cZK\nYBsNsIP7rJ2eiYHueJ7ZC1t7V7mVexLTIM3G5VCOr0rYrT35VogNVdqoocv0\ndxjFEOwiEtSshEpybPWSSIrGxdmfJT5B162E9OUCzaKudFzitbiK9BBJRfxE\npG/fcpwzFd32Wu1RW//+VYlItmOAmJfa6q4vRVRCCkHd0VKrQBiQfo4fSCXK\nbKF/\r\n=j0NO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRcQqbbK8RKSLdTpCBy1ePNLki+idT1LoqeD5fLnOR1gIgGesyLIP35eSMDt0E1k6/JDK8FFMpxk+yVgBynftQJ9Q="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_1.6.2-alpha.12_1617518618977_0.9034543969017923"},"_hasShrinkwrap":false},"2.0.0":{"version":"2.0.0","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.20","@types/node":"^14.14.34","eslint":"^7.22.0","eslint-config-lxsmnsyc":"^0.1.20","graph-state":"2.0.0","pridepack":"^0.8.0","ts-jest":"^26.5.3","tslib":"^2.1.0","typescript":"^4.2.3"},"peerDependencies":{"graph-state":"^1.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"swr-store":"^0.8.2"},"gitHead":"0518b879f40799a56c59dec1739b3560b7650ccb","_id":"swr-graph-state@2.0.0","_nodeVersion":"15.4.0","_npmVersion":"lerna/3.22.1/node@v15.4.0+x64 (win32)","_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"dist":{"integrity":"sha512-y4p3yhueE+vdHeAfuCW+jy0KO/keJKmUOfmgRvHaGzuaWqvL/lJ7jOxnaaVuXE6P/pDoOiq98cei7ozmuC4l4w==","shasum":"add97916891c5e4f5fbeb7e8ce1a09779ad2c872","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-2.0.0.tgz","fileCount":22,"unpackedSize":73497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgevKwCRA9TVsSAnZWagAA7gEP/2lWdlbZo5m7VBSBDc83\nweBzMMT+jyXVvr4W+sRF12Klio2PfJJp5yBLOttjmnSFXuYbLGI14suB5d6J\n8wszGaEQnumWmFe+PNYOsBpdF6GaYlV9pR9i9+BmfLKdZJR9KijWLgxynaUw\nnkMbBG0qQMFS11h6+YXG3QMkRxKzNZLtGorePW5THNj3l5HlErb2m2cYXpxQ\nfndxcpX5tBw0ImIG/sc1dmA9/PoVR5G3eXcYTALvHTQ3PP0XgG37KpI3oM1D\nG3mawDjR5WichrXCfFmKFq5p9BPrl3cPGkHhvHGh5KVJydyP04SkGap9I9KB\nkrWJk+VU2TazKghr3ahcywhCm68wF+na4TKPAIRcMJC3+/+Na+yMdi9HYPtS\nPclS2/pCEW5HJ890B66CJDaSljCYmOO5eVqNhBMA7MQ/eJMNU5aUnqHAgoQk\nqzpSJedpSP7VGCN+Ju8HVHYu/NLL5ogcnn7nI/y1JmovtpqFvcl45F70dds8\nBI2eLKcx13xYnjZN/MlNgCdRTvNiuA+AjUdKGrW2gSuEkeSLNp3oJWwbD9SJ\nLDpjJaEW22RfqQh3CKVbKOVZvtNeBRN3MfD/NSRaqy/buiqWg39GAl2Ar7Jg\nNJx/5PhUW+7SbmI9W/JW/rmOO3AXfkxcezx0tPxik5vF7F8zb2MarvUrNG08\nm4cf\r\n=D8t2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJj4wli6dhW9KArhBKZbI5z+3TGbqmWj84nlaJsr6a5AIgdn6fjjwWAl7DrLLBbnqBDUTClart+a2nuF9Gtvp7jj0="}]},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_2.0.0_1618670256309_0.02386336780895748"},"_hasShrinkwrap":false},"2.1.0":{"version":"2.1.0","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.22","@types/node":"^14.14.41","eslint":"^7.24.0","eslint-config-lxsmnsyc":"^0.2.1","graph-state":"2.1.0","pridepack":"^0.9.2","ts-jest":"^26.5.5","tslib":"^2.2.0","typescript":"^4.2.4"},"peerDependencies":{"graph-state":"^2.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"swr-store":"^0.9.0"},"gitHead":"dcb1fd0346452f797b66fea07a77179bfff22e2d","_id":"swr-graph-state@2.1.0","_nodeVersion":"15.4.0","_npmVersion":"lerna/4.0.0/node@v15.4.0+x64 (win32)","dist":{"integrity":"sha512-co0irt82Eo4KGwZRKnaqTsVP1334bezp6IRfXgTQbsekHLasNufgCLeebLpMc9K+8IMGVq5FtkTcFetQQUPIsw==","shasum":"b844c05f58291cad5b765dce5638a080e1a543f7","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-2.1.0.tgz","fileCount":22,"unpackedSize":74628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggqUhCRA9TVsSAnZWagAAU14P/j6++xIhUt07qKrX2Hu2\nj10kNvRlt/0hopUiP9wgO9bdt/R5Cc4dbtsG1IvKDZ1yCablP9BTpVSDTVBq\nrxzARETEnypTFHBBnsYEfJbbiP32iQOtbtBeIJ1BbzLxTg9LUbv8IR9ffBBj\nzzLTO6LCMbFHXerCGedSj8T2hqSKYNq126SpC9odTxGA4Njwjs518KyTFBV0\nynFE7UxxDLcYw7kDXv1gNCRkJnHsO9NyCOfbzVC28FpYz8IaQTVpB9lErFGL\nQOs2YdXBuEtL+Hl6uIBHs4aPOcfI6NUprBEFsuelppUpJapw9lYWkkcchxGh\nagLrwq/V1B26B4wmgO6wWneGDk+rPTyT1VMvUUZvmRiupgZbsfUjQXq62Iwj\n2VPh+3LC7bptdcSuVdpG3EbcOOJboq3rir9DUPpCVMTPBh2Bs0x5XMO6FtDm\nkZ97CFOGkjE3GCEM2BfJ5Y4t45e0+RZkNUnPOJDoXddp20G9A3hv+RYo1ZGb\n5E+QWPiJ/PrbMkafbhkSblCnmbwZrSkPYz5Re2potEV0EqzeVCXDeoF7rk9b\n6KbLKRr+v41zCSrtoeq8XZY/Gm4kew7Y0Lyy555Z+XUvjLlwdJPDPbDEVkRT\nekQ2u4xwhZggWkEBEZYkFXYvo2OmNfHe6TgcICWHYydVC0t3qI6i3RPlEQaj\nd0jc\r\n=M3Q1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtdUlKx7wuBpyDbMMbbwLx8t3pZR/yyV/MuRpNafIRKAiEA6FMG00b6u1Djq/z86PV3pwsHQE8+lu1/lBxkNwnEuRw="}]},"_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_2.1.0_1619174689052_0.2714683882484141"},"_hasShrinkwrap":false},"2.1.1":{"version":"2.1.1","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.22","@types/node":"^14.14.41","eslint":"^7.24.0","eslint-config-lxsmnsyc":"^0.2.1","graph-state":"2.1.1","pridepack":"^0.9.2","ts-jest":"^26.5.5","tslib":"^2.2.0","typescript":"^4.2.4"},"peerDependencies":{"graph-state":"^2.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"swr-store":"^0.9.0"},"gitHead":"59c6ca84e60309b287b590f06d46f523badb44ed","_id":"swr-graph-state@2.1.1","_nodeVersion":"15.4.0","_npmVersion":"lerna/4.0.0/node@v15.4.0+x64 (win32)","dist":{"integrity":"sha512-VVUpdp5s9Mt8H9BUO6bKGVFI6EPrC1Zk86NvMJfkVGK1dw2HNU72mPsXYoFYcxB+FQWWxp9NrY8kaIzWwk8b0g==","shasum":"890c48e7aaeddc8c678e505976a186b2bde88f7d","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-2.1.1.tgz","fileCount":22,"unpackedSize":74628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghsSACRA9TVsSAnZWagAAXHgP/j4ojrK4QinegrmYPHY3\n5NJNfsQ+ej/ASkqmDNPmtNoExUGDSDc7Z5dIYUFUR066WYnWKmroi48TnNMd\n5UCKfeBzhCrOlqMzmD6/xnRpFOLmaFs6cQMfD768PyqKwTKuitT5lG74CzRM\n27WPY53rYK/lwQrbS3jgssuZ8hxdj1xVpMQfQekmOkHKvYLl/Ixcop0tsE/p\nHSOWttmSxefvGFJBI/zOcd8jZufC5JO+amZ5jEZz/z/3UBWRndGiYklKCjw7\npHZO+aaxhPYXC5ggyURg62o+KjU+oT1PP2WY1Fe5GzmROz1chUGOQqSBILie\najdTesudYi7wkHDCYMIvsZY/s7miTyoQ1OO+knYzkWFMYTslxJGrpwO+H7oK\ntbjW5KC7bSeW6Ta1xRsVibZn3sru3/2Ce3CkHc6iwkYr8tYcuc8OJKgMEMIi\n4Wj6dWhHhG1NaWi/RBjka0rp+Aigcv/W1jjPVTtikexu/rYZvPwIKMLOmp4c\nlGb4JaaBxuualdFbn1jMfIkd+43BxASe2Rzp6N3+qO9UzYMWIeBi15D9I2mZ\nmUZkHUIRr7p8WnSNbHkTKMxxhtAL4vWAwJCFZ9IPbcCvpCn7mLD8/U50XBju\neXeq06r1bi4gKFWlQtVQtsKRYI5HcXjeb97HuAQfcbjYOk8WlLTbBJoPwmAL\nd8N+\r\n=SdSw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMgby9yzX2ElMw6vRzPNKnWwdmt8pZkvypmGKmmEmaGAIgE8dt87mWjSVW5BrEce5vX98wsEy7BaXQ2qeEVuN2ajQ="}]},"_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_2.1.1_1619444863588_0.34043390706544807"},"_hasShrinkwrap":false},"2.1.2":{"version":"2.1.2","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.0.2","eslint":"^7.25.0","eslint-config-lxsmnsyc":"^0.2.1","graph-state":"2.1.2","pridepack":"^0.9.3","ts-jest":"^26.5.6","tslib":"^2.2.0","typescript":"^4.2.4"},"peerDependencies":{"graph-state":"^2.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"swr-store":"^0.9.2"},"gitHead":"0b6fa93a86e839b7cfd39b18218e5dcedbf416c7","_id":"swr-graph-state@2.1.2","_nodeVersion":"15.4.0","_npmVersion":"lerna/4.0.0/node@v15.4.0+x64 (win32)","dist":{"integrity":"sha512-gOLH7tGLHXPQVnmHHe3Sr8QkMRZ9pV9Hx2jowFgtrSVs+Pe+h+sw5vS0BJsX8njTzRt9N5Zts+/U3HVUZOV2Dw==","shasum":"3ec02755b496d0ac45ab0978188aa68071f97713","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-2.1.2.tgz","fileCount":22,"unpackedSize":74838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgk/WnCRA9TVsSAnZWagAAv2IP/RtkrCVZVTk9Sb3sDCvo\nwJu3GrjZ76a+os9ezoJbRdhqYf7UaL2AVfQ3xXCHzLzuUW2ugnjnT/iPwS4i\ncGqsuu5nQeAXMwNaNMMwXcXgseUMyizjHrTzgN5MdVVLtnfSl2gQZ9pzEY5f\nr9tIL47YdhmW8p+1drPNsXA4DxS13vnK+68jL4x0swnf+K4S5Sm8rHW7t3Gj\n/iyp+VjUikuUflYq4rJW9NZmyrJM8uWtwinlizZwX8iGYy2Eho+ebQ6TW818\n3OFU3/rMnqcEG3jZjAaJO69KcVw9ScA2FoSNzyAiejNJDY1IizFJrLNAOcGH\nl8v0J3ZnwqSetV75Oa/t43k/seA7yvoe3LvReBJvS9RnaXppb0I/3eMehMCq\npJy6LI7XU+Wg76nLkvU/hAkb4QErJZ3Ryrt6ilnWQmFl1TYVgBG5njaY3cdU\nsyr/DYIYY2PxgwMkckjyY6iNo5G8CKsafu60+FOWvaOQIatDDQTqma7RtNt+\naoe4rFXfINN31m3BxS/oaAkGVc5VAcIXrnhPaAGcWNIrxQBNP7HSd63jUHlx\nq74sRC0e9OTpFRhlmK7ePeArd356RZsCjb2432cWz7oL8/g57NK9/fXSgOFi\ni3au+m3Anx9JeEH3F+LaQq3kGTWDY61Q9gk8VAGPZwibKRQ0ttPCiQK+cmRw\nY9tS\r\n=M7Zu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCRWctV+MdcluXRrtgQ4I7/e0wrOU62BFhIybJTioFSwIgCCUUSnT6fHTFg2QGUDRn2xbOJ2AbYc/6bqGFswzrbxw="}]},"_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_2.1.2_1620309415421_0.6368785689017598"},"_hasShrinkwrap":false},"2.1.3":{"version":"2.1.3","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.12.2","eslint":"^7.28.0","eslint-config-lxsmnsyc":"^0.2.1","graph-state":"2.1.3","pridepack":"^0.9.3","tslib":"^2.3.0","typescript":"^4.3.2"},"peerDependencies":{"graph-state":"^2.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"swr-store":"^0.9.3"},"gitHead":"cb68222c7f85e73b02af165350f0c5b6f887470e","_id":"swr-graph-state@2.1.3","_nodeVersion":"15.4.0","_npmVersion":"lerna/4.0.0/node@v15.4.0+x64 (win32)","dist":{"integrity":"sha512-YV0ubMyJwZrYhr3sNmtLSFUF4Z8J9JZpiEzK0gYp6QhYCpCL0ilVfHHSNnOjkg0g6e+zCc/GzWEtHTFUQsnayA==","shasum":"1532b21f05c2b7d0dad9f7c05b2b06d4b1f0de5a","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-2.1.3.tgz","fileCount":22,"unpackedSize":74813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgxxHOCRA9TVsSAnZWagAAXiQQAKOl/uGy8q5k+R8ho3Su\n1OCh02hjpHLgI+DvndJcYIh2bRUiVOoYS3OI1Tgc0d2GOB4jCpjuYd2r0sAV\n+OBubbE+I0qvP+hpX1Gn8QRHTiiybQlBIuc2tkRfshJn3PMuJgQKyYufxCyr\nRLfgRKNeidV2b/4o5hdpMfjVMaWgCwlUDzW0+03GYcsFWGP3lg2qVejc4Wpu\nYq/8b97UDm6GkMpPHe8EcvHpti0kxoQhROzFIzo6WqFGe8DU6xeG7c2y7+zS\ncgTAKf5DwdQ0dk34lDT0Hf/HyP1KZqg69qq/vz8d/FQHf9EiRRCMo1bh9umt\nZ6Hh+7KPUAxsHXmGLYD4VWdm5AnODPCP079KCtTRgoOOA3RMUaTvaOQKIrQ/\nZqNoT/3II6TRb691OPWzjuX4GXoYRBsP5Apu2YCL/G1jURdXZudCTJfLB+BS\nUfsmhIBtt9u72wuxT77hjSziI6U6HdO2vPnEUFEF+epBimMZLjBJFWH0yENM\nU63PEAjvR26J0D2kAdKcSZJ6RJGX/4xxUxjINc6b1ad25Wa/jnGgiuQB36ZV\ny81t+sqOp8qtnDkGpbyPUYm6JfMrYzX8YrHCngB0Q7bHLRoN/rlgkeT50Kgt\nAXtQaqlESP6YduIK473AbIKwSRj1Xb+GmOaBaoLTXIfKJVXywBzTbEaXFY0A\nVMSP\r\n=xYYi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMg3uGBjphISBp2eE/1mjdwdiyapZWCbsZmyIeXcpntgIhAM3+qu39YC58CMl/IwPRTprOWc6F9upklobgZI41KDvz"}]},"_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_2.1.3_1623658958220_0.9972738114017403"},"_hasShrinkwrap":false},"2.1.4":{"version":"2.1.4","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"types":"dist/types/index.d.ts","engines":{"node":">=10"},"scripts":{"prepublish":"pridepack clean && pridepack build","build":"pridepack build","type-check":"pridepack check","lint":"pridepack lint","test":"pridepack test --passWithNoTests","clean":"pridepack clean","watch":"pridepack watch"},"license":"MIT","name":"swr-graph-state","devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.12.2","eslint":"^7.28.0","eslint-config-lxsmnsyc":"^0.2.1","graph-state":"2.1.4","pridepack":"^0.10.0","tslib":"^2.3.0","typescript":"^4.3.2"},"peerDependencies":{"graph-state":"^2.0.0"},"author":{"name":"Alexis Munsayac"},"description":"SWR + graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"homepage":"https://github.com/lxsmnsyc/graph-state","bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"publishConfig":{"access":"public"},"keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"],"dependencies":{"swr-store":"^0.9.4"},"gitHead":"9007b80a1c47f90fcd88b7c55a0a62c6a27eaceb","_id":"swr-graph-state@2.1.4","_nodeVersion":"15.4.0","_npmVersion":"lerna/4.0.0/node@v15.4.0+x64 (win32)","dist":{"integrity":"sha512-4QBz8c+8N+ZPkSTSzZls+POLXDU6MJbb6I74OG7gmi+VOwmviEHQNhyXtDou35Wb7o3y03Bv+VuyMdWMDEe7uQ==","shasum":"5faadb16990cb701adeeda0f6347670349efd9df","tarball":"https://registry.npmjs.org/swr-graph-state/-/swr-graph-state-2.1.4.tgz","fileCount":22,"unpackedSize":69165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyG+qCRA9TVsSAnZWagAAqM0QAJboiHEDFMgauvMIxhgK\niCX9W3BZrVtczXixwgmEXA5SxhovDciPL6YuDqiEEKKko8Bb3ELM7m1Bs4GI\nicwcUSchx3VjXIz1TTbMSYrIcsjdnNCIZXgp6ZvEqtt/4dLOi03JpdLwFYXL\nIOsj1dWJzk5I/no39vffLcMwsTY6b5o5ZakhuYSotihD9Ni19hcUAMjU/D9a\naN7iO1SN0xPmefhxrxT+U1HNqIV7QMFkiRr2olqhkyjve5H+UQgQmMxPitI5\nYn55NpLlqw5PgSXkeTMzIxc+oJmEzt8AK4Mzbbf2UeKMGX03PQWUQml7dSgO\n/f6/iJYWqxmmSxR2ArQfYTXqwpIMuVv1lIOqfssmqr7X/ApFg6TPUTwTc0gx\nq5XdOXXM9Dn6VxwLi5/pIyVw9cIskXkxRXE+RA0UfszymEIYnw9LH25UTkjX\nwL85yMxNpvQnz6lfTPvX7UAAp1ZCoNwtVIib9MHvRH0M4NoijoZZFqr6dNs+\nzfC7OBz7aSwZrfHlnlKyHsHZcKlwGe5utQwRByDlZM0RVADlQI6f1603zVBI\nMHxCcmXXzitNITrpQFtmbZEvFRovaOiq18wTp7WxzwZTXo0+u3321QfuIRBk\nyUKuLPFuJAqUedbNZaz1hzbCweeZRe3bzuwqpRv6NaKl/quQvaQs3q+LoUp0\n74Od\r\n=sHt0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDK5FlKb0Sa4VxDemueJINdSMvE7I7Y40ibFhZOeU/O8wIhALBoTm9nPDeEn7J4OnLvFaBnwVvXL1UmQ+VxwihzeJP1"}]},"_npmUser":{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"},"directories":{},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr-graph-state_2.1.4_1623748522011_0.5857425165030778"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-15T11:57:26.059Z","0.1.0":"2020-10-15T11:57:26.368Z","modified":"2022-05-19T05:27:44.608Z","0.2.0":"2020-10-15T14:34:29.562Z","0.2.1":"2020-10-15T14:55:22.824Z","0.3.0":"2020-10-16T01:54:55.431Z","0.3.1":"2020-10-16T10:13:55.792Z","0.3.2":"2020-10-16T10:40:48.001Z","0.3.3":"2020-10-18T03:48:33.546Z","0.3.4":"2020-10-23T11:27:07.234Z","0.4.0":"2020-10-23T16:21:43.733Z","0.4.1":"2020-10-24T12:29:11.718Z","0.4.2":"2020-10-26T08:54:53.126Z","0.4.3":"2020-10-27T11:55:59.097Z","0.4.4":"2020-11-02T16:34:45.008Z","0.5.0":"2020-11-03T10:51:47.543Z","0.5.1":"2020-11-12T08:29:57.634Z","0.5.2":"2020-11-12T08:53:42.631Z","1.0.0":"2020-11-13T13:17:09.721Z","1.1.0":"2020-11-14T16:51:13.625Z","1.1.1":"2020-11-15T03:18:24.921Z","1.1.2":"2020-11-15T09:28:31.137Z","1.1.3":"2020-11-15T09:39:29.447Z","1.1.4":"2020-11-15T09:54:28.107Z","1.2.0":"2020-11-27T16:21:02.070Z","1.3.0":"2020-12-09T05:41:51.851Z","1.3.5-alpha.0":"2020-12-10T15:52:32.483Z","1.3.5-alpha.1":"2020-12-11T05:50:00.654Z","1.3.5-alpha.3":"2020-12-11T06:04:35.958Z","1.3.5-alpha.10":"2020-12-12T04:43:18.995Z","1.3.5-alpha.11":"2020-12-12T12:45:33.256Z","1.3.5-alpha.12":"2020-12-12T13:21:46.668Z","1.3.5-alpha.13":"2020-12-12T16:39:12.957Z","1.3.5-alpha.18":"2020-12-12T17:13:28.532Z","1.3.5-alpha.27":"2020-12-13T14:20:39.930Z","1.3.5-alpha.35":"2020-12-13T16:45:34.905Z","1.3.5-alpha.37":"2020-12-13T17:10:26.415Z","1.3.5-alpha.41":"2020-12-13T17:55:40.289Z","1.3.5-alpha.42":"2020-12-13T18:09:21.438Z","1.3.5-alpha.43":"2020-12-14T10:46:12.406Z","1.3.5-alpha.44":"2020-12-14T10:56:09.078Z","1.3.5-alpha.46":"2020-12-14T11:03:03.949Z","1.3.5-alpha.47":"2020-12-14T11:05:59.106Z","1.3.5-alpha.48":"2020-12-14T11:13:51.036Z","1.3.5-alpha.49":"2020-12-14T11:22:01.293Z","1.3.5-alpha.52":"2020-12-14T11:38:33.405Z","1.3.5-alpha.55":"2020-12-14T11:57:06.363Z","1.3.5-alpha.56":"2020-12-14T11:58:58.048Z","1.4.1":"2020-12-14T16:34:14.571Z","1.4.2-alpha.7":"2020-12-20T12:03:14.776Z","1.5.0":"2021-03-20T11:39:34.960Z","1.5.3-alpha.3":"2021-03-23T08:43:43.284Z","1.5.3-alpha.4":"2021-03-23T09:04:26.030Z","1.6.0":"2021-04-03T15:20:45.302Z","1.6.1":"2021-04-03T15:35:59.287Z","1.6.2-alpha.5":"2021-04-04T03:42:38.742Z","1.6.2-alpha.6":"2021-04-04T03:46:59.376Z","1.6.2-alpha.7":"2021-04-04T03:51:14.355Z","1.6.2-alpha.8":"2021-04-04T04:03:58.959Z","1.6.2-alpha.9":"2021-04-04T04:05:10.714Z","1.6.2-alpha.12":"2021-04-04T06:43:39.153Z","2.0.0":"2021-04-17T14:37:36.476Z","2.1.0":"2021-04-23T10:44:49.548Z","2.1.1":"2021-04-26T13:47:43.702Z","2.1.2":"2021-05-06T13:56:55.549Z","2.1.3":"2021-06-14T08:22:38.377Z","2.1.4":"2021-06-15T09:15:22.160Z"},"maintainers":[{"name":"lxsmnsyc","email":"alexis.munsayac@gmail.com"}],"description":"SWR + graph-state","homepage":"https://github.com/lxsmnsyc/graph-state","repository":{"url":"git+https://github.com/lxsmnsyc/graph-state.git","type":"git"},"author":{"name":"Alexis Munsayac"},"bugs":{"url":"https://github.com/lxsmnsyc/graph-state/issues"},"license":"MIT","readme":"# swr-graph-state\n\n> `swr-store` + `graph-state`\n\n[![NPM](https://img.shields.io/npm/v/swr-graph-state.svg)](https://www.npmjs.com/package/swr-graph-state) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)[![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?style=flat-square&logo=codesandbox)](https://codesandbox.io/s/github/LXSMNSYC/graph-state/tree/main/examples/react-swr-Agraph-state)\n\n## Install\n\n```bash\nyarn add graph-state swr-graph-state\n```\n\n## Usage\n\n```tsx\nimport React, { Suspense } from 'react';\nimport {\n  GraphDomain,\n  useGraphNodeResource,\n} from 'react-graph-state';\nimport { node } from 'graph-state';\nimport { swr } from 'swr-graph-state';\n\nconst API = 'https://dog.ceo/api/breed/';\nconst API_SUFFIX = '/images/random';\n\ninterface APIResult {\n  message: string;\n  status: string;\n}\n\nconst dogBreed = node({\n  get: 'shiba',\n});\n\nconst dogAPI = swr<APIResult>({\n  key: 'dogAPI',\n  setup: ({ get }) => {\n    const breed = get(dogBreed);\n    return async () => {\n      const response = await fetch(`${API}${breed}${API_SUFFIX}`);\n      return (await response.json()) as APIResult;\n    };\n  },\n  revalidateOnFocus: true,\n  revalidateOnNetwork: true,\n});\n\nfunction DogImage(): JSX.Element {\n  const data = useGraphNodeResource(dogAPI.resource);\n\n  return <img src={data.message} alt={data.message} />;\n}\n\nfunction Trigger(): JSX.Element {\n  return (\n    <button\n      type=\"button\"\n      onClick={() => {\n        dogAPI.trigger();\n      }}\n    >\n      Trigger\n    </button>\n  );\n}\n\nexport default function App(): JSX.Element {\n  return (\n    <GraphDomain>\n      <Trigger />\n      <div>\n        <Suspense fallback={<h1>Loading...</h1>}>\n          <DogImage />\n        </Suspense>\n      </div>\n    </GraphDomain>\n  );\n}\n```\n\n## Features\n\n### Hydration\n\nSWR node may present an initial data through `options.initialData`. This data is used only when the store finds an empty cache value. Initial data is also useful for opting-out of initial pending phase and providing a way for SSR pages to hydrate nodes.\n\n```ts\nconst userDetails = swr({\n  key: '/user/details',\n  setup: () => () => getUserDetails(),\n  initialData: prefetchedData,\n});\n```\n\n### Subscriptions\n\nSWR nodes allows subscriptions to subscribe for cache updates. Subscribing returns a callback that allows unsubscribing to the cache updates.\n\n```ts\n// Local subscription\nconst unsubscribe = userDetails.subscribe((result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n\n// global subscription\nimport { subscribe } from 'swr-graph-state';\n\nconst unsubscribe = subscribe('/user/details', (result) => {\n  if (result.status === 'pending') {\n    displaySkeleton();\n  } else if (result.status === 'failure') {\n    displayFallback();\n  } else if (result.status === 'success') {\n    displayUI(result.data);\n  }\n});\n```\n\n### Manual Revalidation\n\nSWR nodes have the methods `mutate` and `trigger` which allows manual revalidation of cached data. `mutate` overwrites the cached data while `trigger` prompts for a revalidation.\n\n```ts\nconst userDetails = swr({\n  key: '/user/details',\n  setup: () => () => getUserDetails(),\n});\n\nuserDetails.trigger();\n\nuserDetails.mutate({\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Global Revalidation\n\nSWR nodes share the same global cache, and can be prompted with a global manual revalidation. `trigger` and `mutate` are similar to node's `node.trigger` and `node.mutate` except that they accept the cache key first.\n\nStores subscribers may be notified (`trigger` does not guarantee a notification, while `mutate` guarantees a notification) for the cache update.\n\n```ts\nimport { trigger, mutate } from 'swr-graph-state';\n\nconst userDetails = swr({\n  key: '/user/details',\n  get: () => getUserDetails(),\n});\n\n// ...\n// Global trigger\ntrigger('/user/details');\n\n// Or mutate\nmutate('/user/details', {\n  data: {\n    name: 'John Doe',\n    age: 16,\n  },\n  status: 'success',\n});\n```\n\n### Local Revalidation\n\nSWR nodes can be manually revalidated by calling `node.trigger` or `node.mutate`.\n\n- `node.trigger(shouldRevalidate = true)`: Triggers a revalidation from the given arguments. Arguments are passed to `options.key` to locate the cache.\n- `node.mutate(result, shouldRevalidate = true)`: Mutates the cache with `result`. Cache is located based on the key generated from the arguments passed to `options.key`.\n\n```ts\n// Local revalidation\nuserDetails.trigger([userId]);\n\n// is the same as \ntrigger(`/user/${userId}`);\n\n// Since userDetails yields the same key format.\n```\n\n### Other features\n\nMost features of `swr-graph-state` is adapted from [`swr-store`](https://github.com/lxsmnsyc/swr-store) so be sure to check it out. Options for both `swr` and `swrFactory` are also derived from it (with the exception of `setup` and `key`).\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)\n","readmeFilename":"README.md","keywords":["graph-state","graph","state","digraph","state management","reactive","recoil","atomic","swr","data fetching"]}