social-kit / shadow-cljs.edn
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
;; shadow-cljs build for the committed dist/ — deterministic ESM for browsers.
;; One module per subpath export ("." -> dist/index.js, "./net" -> dist/net.js,
;; "./join" -> dist/join.js, "./selftest" -> dist/selftest.js) over a :shared
;; base. :join depends only on :shared, so the paste/home chips never drag the
;; social agent or libp2p in (game main chunks stay lean); :net is the ONLY
;; module referencing the libp2p family. "ardegazu-id-kit", "@noble/curves"
;; and every libp2p package stay EXTERNAL imports (:js-provider :import):
;; consumer bundlers dedupe them and the optional peerDependencies stay
;; optional for apps that never import "./net".
{:deps {:aliases [:dev]}
 :builds
 {:lib
  {:target :esm
   :output-dir "dist"
   :compiler-options {:optimizations :advanced
                      :infer-externs :auto
                      :source-map false}
   :js-options {:js-provider :import}
   :modules
   {:shared {:entries []}
    :index {:entries [ardegazu.social.index]
            :depends-on #{:shared}
            :exports {SOCIAL_SALT ardegazu.social.index/SOCIAL-SALT
                      SOC_BEACON_MS ardegazu.social.index/SOC-BEACON-MS
                      SOC_STALE_MS ardegazu.social.index/SOC-STALE-MS
                      ENV_DEFAULT_TTL_MS ardegazu.social.index/ENV-DEFAULT-TTL-MS
                      INVITE_TTL_MS ardegazu.social.index/INVITE-TTL-MS
                      SEEN_ENV_CAP ardegazu.social.index/SEEN-ENV-CAP
                      BLOCKED_CAP ardegazu.social.index/BLOCKED-CAP
                      PENDING_UI_CAP ardegazu.social.index/PENDING-UI-CAP
                      RECEIPTS_CAP ardegazu.social.index/RECEIPTS-CAP
                      AP2P_DESCRIPTOR_URL ardegazu.social.index/AP2P-DESCRIPTOR-URL
                      MAILBOX_URL_FALLBACK ardegazu.social.index/MAILBOX-URL-FALLBACK
                      MAILBOX_CREDS_URL_FALLBACK ardegazu.social.index/MAILBOX-CREDS-URL-FALLBACK
                      canon ardegazu.social.index/canon
                      sha256 ardegazu.social.index/sha256
                      sha256B64url ardegazu.social.index/sha256-b64url
                      hkdfId ardegazu.social.index/hkdf-id
                      hkdfAesKey ardegazu.social.index/hkdf-aes-key
                      mailboxEndpoints ardegazu.social.index/mailbox-endpoints
                      MailboxAuth ardegazu.social.index/MailboxAuth
                      MailboxClient ardegazu.social.index/MailboxClient
                      mailboxFor ardegazu.social.index/mailbox-for
                      buildEnvelope ardegazu.social.index/build-envelope
                      openEnvelope ardegazu.social.index/open-envelope
                      SeenRing ardegazu.social.index/SeenRing
                      pairChannel ardegazu.social.index/pair-channel
                      selfChannel ardegazu.social.index/self-channel
                      inboxRoomId ardegazu.social.index/inbox-room-id
                      envCtx ardegazu.social.index/env-ctx
                      sanitizeFriend ardegazu.social.index/sanitize-friend
                      FriendStore ardegazu.social.index/FriendStore
                      buildFriendLink ardegazu.social.index/build-friend-link
                      parseFriendLink ardegazu.social.index/parse-friend-link
                      applyFriendEnvelope ardegazu.social.index/apply-friend-envelope
                      sanitizeProfileSync ardegazu.social.index/sanitize-profile-sync
                      foldProfileSync ardegazu.social.index/fold-profile-sync
                      sanitizeAppsSync ardegazu.social.index/sanitize-apps-sync
                      foldAppsSync ardegazu.social.index/fold-apps-sync
                      SocialAgent ardegazu.social.index/SocialAgent
                      SUITE_APPS ardegazu.social.index/SUITE-APPS
                      mintRoomUrl ardegazu.social.index/mint-room-url
                      inviteToast ardegazu.social.index/invite-toast
                      enText ardegazu.social.index/en-text
                      mkT ardegazu.social.index/mk-t
                      MIN_SIGNERS ardegazu.social.index/MIN-SIGNERS
                      roomHash ardegazu.social.index/room-hash
                      receiptHash ardegazu.social.index/receipt-hash
                      signReceipt ardegazu.social.index/sign-receipt
                      verifyReceipt ardegazu.social.index/verify-receipt
                      isoWeek ardegazu.social.index/iso-week
                      lbRoomId ardegazu.social.index/lb-room-id
                      lbTopic ardegazu.social.index/lb-topic
                      depositReceipt ardegazu.social.index/deposit-receipt
                      fetchWeekly ardegazu.social.index/fetch-weekly
                      ReceiptSet ardegazu.social.index/ReceiptSet
                      aggregate ardegazu.social.index/aggregate
                      GameLb ardegazu.social.index/GameLb
                      startLbGossip ardegazu.social.index/start-lb-gossip
                      attachSocial ardegazu.social.index/attach-social}}
    :net {:entries [ardegazu.social.net]
          :depends-on #{:shared}
          :exports {fetchRelayInfo ardegazu.social.net/fetch-relay-info
                    NetNode ardegazu.social.net/NetNode
                    IceConfig ardegazu.social.net/IceConfig
                    createSocialNode ardegazu.social.net/create-social-node}}
    :join {:entries [ardegazu.social.join]
           :depends-on #{:shared}
           :exports {joinPasteChip ardegazu.social.join/join-paste-chip
                     homeChip ardegazu.social.join/home-chip}}
    :selftest {:entries [ardegazu.social.selftest]
               :depends-on #{:shared :index}
               :exports {runSocialKitSelfTest ardegazu.social.selftest/run-social-kit-self-test}}}}}}

static mirror of HEAD · about · clone: git clone https://git.ardegazu.ro/social-kit.git