@graphprotocol/graph-cli 0.30.0-alpha.1 → 0.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/chain/arweave.ts +76 -0
  2. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/chain/cosmos.ts +341 -0
  3. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/chain/ethereum.ts +39 -0
  4. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/global/global.ts +286 -142
  5. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/index.ts +4 -2
  6. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/package.json +2 -1
  7. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/test/test.js +4 -2
  8. package/examples/basic-event-handlers/node_modules/keccak/build/config.gypi +300 -125
  9. package/examples/basic-event-handlers/node_modules/websocket/build/config.gypi +292 -15
  10. package/examples/basic-event-handlers/package.json +1 -1
  11. package/examples/basic-event-handlers/yarn.lock +4 -4
  12. package/examples/example-subgraph/package.json +1 -1
  13. package/examples/example-subgraph/yarn.lock +4 -4
  14. package/package.json +1 -1
  15. package/src/codegen/schema.js +5 -1
  16. package/src/codegen/schema.test.js +102 -0
  17. package/src/command-helpers/abi.js +69 -0
  18. package/src/command-helpers/scaffold.js +65 -0
  19. package/src/commands/add.js +198 -0
  20. package/src/commands/init.js +23 -72
  21. package/src/migrations.js +0 -2
  22. package/src/protocols/arweave/manifest.graphql +57 -0
  23. package/src/protocols/arweave/scaffold/manifest.js +19 -0
  24. package/src/protocols/arweave/scaffold/mapping.js +53 -0
  25. package/src/protocols/arweave/subgraph.js +20 -0
  26. package/src/protocols/{tendermint → cosmos}/manifest.graphql +6 -0
  27. package/src/protocols/cosmos/scaffold/manifest.js +16 -0
  28. package/src/protocols/cosmos/scaffold/mapping.js +39 -0
  29. package/src/protocols/{tendermint → cosmos}/subgraph.js +2 -1
  30. package/src/protocols/ethereum/codegen/abi.js +21 -4
  31. package/src/protocols/ethereum/scaffold/manifest.js +2 -1
  32. package/src/protocols/index.js +51 -18
  33. package/src/protocols/near/manifest.graphql +1 -0
  34. package/src/protocols/near/scaffold/manifest.js +4 -2
  35. package/src/scaffold/cosmos.test.js +86 -0
  36. package/src/scaffold/ethereum.test.js +2 -2
  37. package/src/scaffold/index.js +3 -2
  38. package/src/scaffold/near.test.js +2 -2
  39. package/src/validation/schema.js +2 -0
  40. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/chain/tendermint.ts +0 -554
  41. package/examples/basic-event-handlers/node_modules/keccak/build/Makefile +0 -342
  42. package/examples/basic-event-handlers/node_modules/keccak/build/Release/.deps/Release/obj.target/keccak/src/addon.o.d.raw +0 -27
  43. package/examples/basic-event-handlers/node_modules/keccak/build/binding.Makefile +0 -6
  44. package/examples/basic-event-handlers/node_modules/keccak/build/gyp-mac-tool +0 -615
  45. package/examples/basic-event-handlers/node_modules/keccak/build/keccak.target.mk +0 -209
  46. package/examples/basic-event-handlers/node_modules/websocket/build/Makefile +0 -347
  47. package/examples/basic-event-handlers/node_modules/websocket/build/Release/.deps/Release/obj.target/bufferutil/src/bufferutil.o.d.raw +0 -25
  48. package/examples/basic-event-handlers/node_modules/websocket/build/binding.Makefile +0 -6
  49. package/examples/basic-event-handlers/node_modules/websocket/build/bufferutil.target.mk +0 -192
  50. package/examples/basic-event-handlers/node_modules/websocket/build/gyp-mac-tool +0 -615
  51. package/examples/basic-event-handlers/node_modules/websocket/build/validation.target.mk +0 -192
  52. package/src/codegen/types/defaults.js +0 -34
  53. package/src/migrations/mapping_api_version_0_0_6.js +0 -74
  54. package/src/migrations/spec_version_0_0_4.js +0 -25
  55. package/tests/cli/init/ethereum/from-example/.gitattributes +0 -1
  56. package/tests/cli/init/ethereum/from-example/LICENSE +0 -21
  57. package/tests/cli/init/ethereum/from-example/README.md +0 -3
  58. package/tests/cli/init/ethereum/from-example/abis/Gravity.json +0 -1
  59. package/tests/cli/init/ethereum/from-example/bin/Counter.bin +0 -1
  60. package/tests/cli/init/ethereum/from-example/contracts/Gravity.sol +0 -63
  61. package/tests/cli/init/ethereum/from-example/contracts/Migrations.sol +0 -23
  62. package/tests/cli/init/ethereum/from-example/docker-compose.yml +0 -39
  63. package/tests/cli/init/ethereum/from-example/migrations/1_initial_migration.js +0 -5
  64. package/tests/cli/init/ethereum/from-example/migrations/2_deploy_contract.js +0 -5
  65. package/tests/cli/init/ethereum/from-example/migrations/3_create_gravatars.js +0 -15
  66. package/tests/cli/init/ethereum/from-example/networks.json +0 -7
  67. package/tests/cli/init/ethereum/from-example/package.json +0 -23
  68. package/tests/cli/init/ethereum/from-example/schema.graphql +0 -6
  69. package/tests/cli/init/ethereum/from-example/src/mapping.ts +0 -22
  70. package/tests/cli/init/ethereum/from-example/subgraph.yaml +0 -27
  71. package/tests/cli/init/ethereum/from-example/truffle.js +0 -27
  72. package/tests/cli/init/ethereum/from-example/yarn.lock +0 -5977

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.